Repository navigation
error printer: print the thrown Error, not the JSC::Exception cell, for errors escaping native callbacks #38278
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
Closed
robobun
wants to merge
17
commits into
main
from
farm/f25c2491/print-thrown-error-not-exception-cell
+546
−51
Closed
Changes from 4 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
222f1da
error printer: print the thrown Error, not the JSC::Exception cell
robobun 31854f0
test: cover uncaughtException rethrow (#30504) and captureStackTrace …
robobun 8e2a479
Shorten the two new comments to one line
robobun cdfaba1
test: cover the worker 'error' path and a handler that reads err.stac…
robobun b01fad4
toZigException: an Error always uses its own stack, the wrapper stack…
robobun 144768a
Shorten four comments to one line each
robobun c9d8207
Merge main into the branch
robobun 01b7673
test: process.nextTick is a JSC::Exception entry point now
robobun 4d34f22
Fall back to the throw-site stack for an Error with no frames of its own
robobun dec51d2
Drop the added sentence from the print_error_instance_js doc comment
robobun 5844fbf
Record which stack the frames came from instead of deriving it twice
robobun d303cfa
test: accept both new Error() and Error() in the transpiled preview line
robobun e61cf17
Merge main into the branch
robobun bae0847
test: an unhandled 'error' event prints the properties of the system …
robobun 8392f9f
test: the preview of a resolve error now ends at the require() line
robobun 9c6e7cf
Merge main into the branch
robobun 2a58ed1
collectSourceLines: do not read the thrown value's name and message a…
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.