Skip to content

Throw within queueMicrotask callbacks should not crash Node - #38225

Closed
EladKeyshawn wants to merge 1 commit into
nodejs:masterfrom
EladKeyshawn:eladkeyshawn/queueMicrotask-throw-crash
Closed

Throw within queueMicrotask callbacks should not crash Node#38225
EladKeyshawn wants to merge 1 commit into
nodejs:masterfrom
EladKeyshawn:eladkeyshawn/queueMicrotask-throw-crash

Conversation

@EladKeyshawn

Copy link
Copy Markdown

#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
Copy Markdown
Member

@Linkgoron was looking at this IIRC

@Linkgoron

Linkgoron commented Apr 13, 2021

Copy link
Copy Markdown
Contributor

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

Trott commented Apr 13, 2021

Copy link
Copy Markdown
Member
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.

6 participants