foliojs / brotli.js

A JavaScript port of the Brotli compression algorithm, as used in WOFF2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uncaughtException error handler

reisandbeans opened this issue · comments

Apologies if this is not the proper place to report this issue, but I'm still not completely sure of what the problem is and I don't use bortli directly (it was added to my project as a dependency of a dependency).

I have an uncaughtException handler on my project that is supposed to log errors and all that, and I noticed that it's not being called anymore. Upon debugging, I noticed that an additional exception handler is being added to process, and it seems to come from brotli:

image

These lines seem to be interfering with my other error handlers, not letting the error reach them. If I clear all the error listers, and re-add mine, issue goes away. Can someone please help?

I'm experiencing the same issue!

commented

This is a year old?!

Please, recompile emscripten with options -sNODEJS_CATCH_EXIT=0 -sNODEJS_CATCH_REJECTION=0

For all of our sakes!

@reisandbeans @kolarski @knightcode have you found any alternative? Thanks