Skip to content

Possible Unhandled Promise Rejections everywhere, and impossible to debug #1

Open
@huw

Description

@huw

Hey folks,

I just upgraded @skpm/builder from 0.7.2 to 0.7.4 and I'm pretty sure this module is the source of my troubles.

Any handler in my plugin that is defined as an async function no longer works (the synchronous ones are fine). The only useful information I get is:

Possible Unhandled Promise Rejection: { line: 1, column: 18 }
Possible Unhandled Promise Rejection: { line: 1, column: 18 }

The relevant line there is in the header (which, in fairness, has also changed between versions), and it's the var globalThis = this one. I'm assuming the problem is actually deeper than that, and the new uncaughtException handler is having issues.

Please let me know if asynchronous handlers are no longer supported, and I'll just wrap everything in a promise.

Cheers — and keep up the good work ☺️

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions