AndreasMadsen / async-hook

Inspect the life of handle objects in node
MIT License
36 stars 14 forks source link

uncaughtException is not emitted after using async-hook #10

Closed RobinQu closed 8 years ago

RobinQu commented 8 years ago
asyncHook.enable();
process.nextTick(function () {
  throw new Error('boom');
});

No error is thrown and process exits with status 0.

RobinQu commented 8 years ago

Connect with https://github.com/AndreasMadsen/async-hook/pull/11

AndreasMadsen commented 8 years ago

Fixed by #11 and landed in 129af3d9f4961ecb1599c1232988fe87aece61ee