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

uncaughtException is not emitted after using async-hook #10

Closed
RobinQu opened this issue Sep 3, 2016 · 2 comments
Closed

uncaughtException is not emitted after using async-hook #10

RobinQu opened this issue Sep 3, 2016 · 2 comments

Comments

@RobinQu
Copy link

RobinQu commented Sep 3, 2016

asyncHook.enable();
process.nextTick(function () {
  throw new Error('boom');
});

No error is thrown and process exits with status 0.

@RobinQu
Copy link
Author

RobinQu commented Sep 3, 2016

Connect with #11

@AndreasMadsen
Copy link
Owner

Fixed by #11 and landed in 129af3d

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

No branches or pull requests

2 participants