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

Properly handle JS exceptions in promise rejection callback. #231

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

kentonv
Copy link
Member

@kentonv kentonv commented Dec 19, 2022

We already catch exceptions generated by the app itself, but under certain circumstances, our calls to the V8 API in this callback can throw.

I am actually not even sure how to trigger such an exception but there was one odd crash report in production.

We already catch exceptions generated by the app itself, but under certain circumstances, our calls to the V8 API in this callback can throw.

I am actually not even sure how to trigger such an exception but there was one odd crash report in production.
@kentonv kentonv requested a review from jasnell December 19, 2022 18:52
@kentonv kentonv merged commit ba89eee into main Dec 20, 2022
@kentonv kentonv deleted the kenton/catch-exceptions branch December 20, 2022 01:00
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