Skip to content
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

Only look up .stack property on exception objects #905

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

bnoordhuis
Copy link
Contributor

Without this additional check, run-test262 prints "TypeError: cannot read property 'stack' of undefined" when a test throws undefined, obscuring the actual error.

Without this additional check, run-test262 prints "TypeError: cannot
read property 'stack' of undefined" when a test throws undefined,
obscuring the actual error.
@bnoordhuis bnoordhuis merged commit f507557 into quickjs-ng:master Feb 10, 2025
59 checks passed
@bnoordhuis bnoordhuis deleted the is-exception branch February 10, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants