You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, it probably does make sense to handle "unhandledrejection" events similar to "error" events. I'm not sure when I'll get around to adding it, but probably eventually. Or, PR welcome :)
I wonder if there are any other events that should be handled similarly too..
Hi,
Thanks for the library.
I can see there is an event listener to catch global "error" events, but not on global "unhandledrejection" events.
E.g if my worker code does something like below, it won't get handled by the registerError callback.
Would it make sense to add a global listener for that, e.g. could just "re-throw" that error
The text was updated successfully, but these errors were encountered: