-
Notifications
You must be signed in to change notification settings - Fork 27.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak the display for error trace (#67572)
### What Change the display of error trace in error overlay. * Replace unknown location `<anonymous>` from the stack trace but still keep the content before the location. * Filter out all `node:` prefixes (including node:async_hooks etc.) ### Why Regarding to the chaneg in facebook/react#30290 We only stripped the `(<anonymous>)` part but still keep the first part of stack trace, e.g. in react it could be the component name. cc @sebmarkbage
- Loading branch information
Showing
3 changed files
with
26 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters