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

Fix Node.js Worker support by not shimming uncaughtException #269

Merged
merged 2 commits into from Apr 19, 2020

Conversation

addaleax
Copy link
Contributor

Node.js Worker threads don’t handle uncaughtException the same way
that the main thread does. The shim does not apply/make sense here,
but breaks error handling support in unexpected ways instead.

Fixes: #268
Fixes: TypeStrong/ts-node#945

Node.js Worker threads don’t handle `uncaughtException` the same way
that the main thread does. The shim does not apply/make sense here,
but breaks error handling support in unexpected ways instead.

Fixes: evanw#268
Fixes: TypeStrong/ts-node#945
source-map-support.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@LinusU LinusU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks great 👍

@LinusU LinusU merged commit 2a08b93 into evanw:master Apr 19, 2020
@LinusU
Copy link
Collaborator

LinusU commented Apr 19, 2020

Released as 0.5.17 🚀

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.

Empty log lines on worker error Empty log line on worker error
2 participants