Skip to content
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

prevent the module from throwing uncatchable errors #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kjarmicki
Copy link

Hello,

There are situations when this module throws errors from inside of setTimeout callback that are impossible to catch from the outside and cause a process exit (unless caught with global uncaughtException handler, but I don't want that 😉). This is the case with any uncaught error thrown inside of a callback scheduled with asyncish.

This PR fixes that. I've chosen a method that seemed least invasive to the codebase.

@kjarmicki
Copy link
Author

Thanks for the approve @shaunburdick 🙂
Is there a chance to merge and release this patch?

@kjarmicki
Copy link
Author

Hey @shaunburdick can we please merge and release this patch? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants