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

Throw within queueMicrotask callbacks should not crash Node #38225

Conversation

EladKeyshawn
Copy link

#38145 Why was this 'catch' block was removed in the first place?

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. process Issues and PRs related to the process subsystem. labels Apr 13, 2021
@benjamingr
Copy link
Member

@Linkgoron was looking at this IIRC

@Linkgoron
Copy link
Member

Linkgoron commented Apr 13, 2021

This would fix the issue, but this change was done on purpose. This basically reverts #33859. I think that the real issue is in the c++ code that handles the error, and loses the correct async context.

@Trott
Copy link
Member

Trott commented Apr 13, 2021

@devsnek @addaleax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ci PRs that need a full CI run. process Issues and PRs related to the process subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants