Skip to content

process: unhandledRejection support more errors#41682

Merged
nodejs-github-bot merged 2 commits intonodejs:masterfrom
benjamingr:unhandled-rejection-cross-realm-stack
Jan 28, 2022
Merged

process: unhandledRejection support more errors#41682
nodejs-github-bot merged 2 commits intonodejs:masterfrom
benjamingr:unhandled-rejection-cross-realm-stack

Conversation

@benjamingr
Copy link
Member

Support cross realm errors where instanceof errors in our
unhandledRejection warning to print better error with stack traces.

This means that unhandled rejection warnings will print better cross-realm errors with --unhandled-rejections=warn

Refs: #41676

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. errors Issues and PRs related to JavaScript errors originated in Node.js core. needs-ci PRs that need a full CI run. process Issues and PRs related to the process subsystem. promises Issues and PRs related to ECMAScript promises.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants