-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
errors: remove eager stack generation for node errors #39182
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.
Thanks for working on this, seems good to me. If anything the extended outputs on the cases that changed seem like an improvement as well.
thanks for fixing this up guy. added ruben since this touches the repl tests. |
Strictly speaking this PR can land now. Did you still want to wait on a review from @BridgeAR further here Gus? |
🤷♂️ maybe give it a couple more days |
PR-URL: nodejs#39182 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
3943432
to
1782170
Compare
PR-URL: #39182 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Moves logic from
addCodeToName
toprepareStackTrace
, which saves some upfront perf and also allows node errors to be overridden byoverrideStackTrace
.cc @guybedford