Skip to content

Promises incorrectly reject with DOM Event, not Error. #183

@mik3y

Description

@mik3y

Certain sites, such as these in useScriptTag, reject errors with an Event object, not an Error.

We see this causing errors like Event Event (type=error) captured as promise rejection in our global uncaught exception handler, e.g. when a script load is interrupted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions