Skip to content

Runtime: no position returned for a rejected promise #1174

Open

Description

@josephjclark

Run this code:

fn(() => {
  return Promise.reject({});
});

No error position will be reported in the CLI

Image

This is obviously annoying for users trying to debug job code

For the record, I think this is a bit of an obscure case, and it's coming out of dhis2 5.0.5 (Adaptor.js line 113(

Activity

  1. josephjclark commented on Dec 16, 2025

    @josephjclark
    CollaboratorAuthor

    This feels super edge-casey but it affecting MSF so I'm gonna spend a few hours trying to find a fix

  2. self-assigned this
    on Dec 16, 2025
  3. moved this from New Issues to In progress in Coreon Dec 16, 2025
  4. moved this from In progress to DevX Backlog in Coreon Dec 19, 2025
  5. moved this from DevX Backlog to Product Backlog in Coreon Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

  • Status
    Product Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions