diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-08-14 04:59:43 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-08-14 04:59:43 +0200 |
commit | 5634e77ad96bfe1818f6b6ee70b7379652e5487f (patch) | |
tree | af7db4ee60b3fc624d7b0e8c94f2b72517b5269d /src/crypto | |
parent | d5bba630a35fff72b11273fb5e62c2208f9e1f5b (diff) |
fix build system / types
Diffstat (limited to 'src/crypto')
-rw-r--r-- | src/crypto/nodeWorkerEntry.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/nodeWorkerEntry.ts b/src/crypto/nodeWorkerEntry.ts index ff7f8766b..9e2647ff6 100644 --- a/src/crypto/nodeWorkerEntry.ts +++ b/src/crypto/nodeWorkerEntry.ts @@ -69,7 +69,7 @@ process.once("message", (obj: any) => { } }); - process.on("error", (err: any) => { + process.on("uncaughtException", (err: any) => { (g.onerror || g.self.onerror || (() => undefined))(err); }); |