-
Notifications
You must be signed in to change notification settings - Fork 19
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
lz4wasm catches UnhandledPromiseRejectionWarning and exits node process #6
Comments
khelkun
changed the title
lz4wasm catches UnhandledPromiseRejectionWarning then asserts then exit node process
lz4wasm catches UnhandledPromiseRejectionWarning and exits node process
Aug 27, 2020
this could be related: and the workaround would be: @STUkh @ukyo |
@STUkh Hey is this being worked on? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Inside a non terminating program (like an expressjs server). Without
require('lz4-asm')
module the instructionnew Promise((resolve, reject) => { throw new Error("my promise thrown error"); });
produces the following output and does not end the nodejs process:But if I
require('lz4-asm')
in my program, then the same instruction produces the following output and ends the nodejs process:I tried to figure out where this comes from and how to disable it but I failed. Could you help me please?
The text was updated successfully, but these errors were encountered: