Skip to content

Conversation

@devsnek
Copy link
Member

@devsnekdevsnek commented Jun 28, 2021

Moves logic from addCodeToName to prepareStackTrace, which saves some upfront perf and also allows node errors to be overridden by overrideStackTrace.

cc @guybedford

@github-actionsgithub-actionsbot added errors Issues and PRs related to JavaScript errors originated in Node.js core. http2 Issues or PRs related to the http2 subsystem. needs-ci PRs that need a full CI run. labels Jun 28, 2021
Copy link
Contributor

@guybedfordguybedford left a 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.

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@devsnekdevsnek requested a review from BridgeARJuly 3, 2021 04:08
@devsnek
Copy link
MemberAuthor

thanks for fixing this up guy. added ruben since this touches the repl tests.

@nodejs-github-bot
Copy link
Collaborator

@devsnekdevsnek removed the needs-ci PRs that need a full CI run. label Jul 3, 2021
@guybedford
Copy link
Contributor

Strictly speaking this PR can land now. Did you still want to wait on a review from @BridgeAR further here Gus?

@devsnek
Copy link
MemberAuthor

🤷‍♂️ maybe give it a couple more days

@devsnekdevsnekforce-pushed the better-error-stuff branch from 3943432 to 1782170CompareJuly 8, 2021 01:53
@devsnekdevsnek merged commit 1782170 into nodejs:masterJul 8, 2021
@devsnekdevsnek deleted the better-error-stuff branch July 8, 2021 01:53
targos pushed a commit that referenced this pull request Jul 11, 2021
PR-URL: #39182 Reviewed-By: Guy Bedford <[email protected]> Reviewed-By: James M Snell <[email protected]>
@targostargos mentioned this pull request Jul 13, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

errorsIssues and PRs related to JavaScript errors originated in Node.js core.http2Issues or PRs related to the http2 subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@devsnek@nodejs-github-bot@guybedford@jasnell@targos