-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: outline when origin is set to unhandledRejection #35294
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We added another mode that is not yet documented either. It would be great to add that as well :-)
@mlarcher thanks for opening the PR to fix this! |
98f2b33
to
70f769f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
what's next ? is there something required on my part or one of the approver just has to merge the PR ? |
@mlarcher nothing else required from your part. We have a minimum wait time of 48h before landing any PRs, so it should be landed tomorrow (or afterwards, depending on collaborators availability) |
ok, thanks for the info mary :) |
PR-URL: nodejs#35294 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Landed in 1390574. Thanks for the contribution! 🎉 |
PR-URL: #35294 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: nodejs#35294 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Checklist
Add a line about
unhandledRejection
in the doc foruncaughtExceptionMonitor
to make it clear thatuncaughtExceptionMonitor
will only called for an unhandled promise rejection if--unhandled-rejections
flag is set to "strict".This addition is a copy and paste from the doc about uncaughtException, as both have the same behaviour on the matter.
This MR was initiated because of the issue #35291