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
DanKaplanSES opened this issue
Oct 7, 2023
· 1 comment
Labels
docIssues and PRs related to the documentations.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 text was updated successfully, but these errors were encountered:
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 the documentations.processIssues and PRs related to the process subsystem.promisesIssues and PRs related to ECMAScript promises.
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.
The text was updated successfully, but these errors were encountered: