Skip to content

Document default unhandledRejection handler behavior #50075

@DanKaplanSES

Description

@DanKaplanSES

Affected URL(s)

https://nodejs.org/api/process.html#event-unhandledrejection

Description of the problem

The unhandledRejection event is well documented, but I'd like to know what happens by default when the author's code doesn't implement a unhandledRejection handler. Does it print an error? Does it silently fail? etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.processIssues and PRs related to the process subsystem.promisesIssues and PRs related to ECMAScript promises.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions