You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docIssues and PRs related to Node.js documentation.processIssues and PRs related to the process subsystem.promisesIssues and PRs related to ECMAScript promises.
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.
The documentation for uncaughtException and uncaughtExceptionMonitor links to it because that's where unhandled rejections end up if you don't have an unhandledRejection event listener.
If you feel the documentation can be improved, then please open a pull request and link back to this issue. Otherwise please go ahead and close the issue.
docIssues and PRs related to Node.js documentation.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
You can’t perform that action at this time.
✕
Wait! Don't Go Yet 🚀
Get our FREE eBook "10 Programming Tips That Changed Everything" when you subscribe!
Activity
bnoordhuis commentedon Oct 7, 2023
Documented in https://nodejs.org/api/cli.html#--unhandled-rejectionsmode
The documentation for uncaughtException and uncaughtExceptionMonitor links to it because that's where unhandled rejections end up if you don't have an unhandledRejection event listener.
If you feel the documentation can be improved, then please open a pull request and link back to this issue. Otherwise please go ahead and close the issue.