Skip to content

Support for "Unhandled promise rejection" / "Uncaught (in promise)" #424

@benvinegar

Description

@benvinegar

Example use case (JSBin):

var p = new Promise(function(resolve, reject) {
    window.setTimeout(
        function() {
            reject();
        }, 10);
});

p.then(function () {
    console.log('done!');
});

If the promise throws an exception, and there's no error handler, the browser will spit out an uncaught promise error.

image

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