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

fix: remove uncaught exception handler #154

Merged
merged 1 commit into from
Jul 9, 2024

Commits on Apr 15, 2024

  1. fix: remove uncaught exception handler

    There are no circumstances under which it is safe to ignore uncaught
    exceptions, since the application is left in an unconsistent state.
    
    The node documentation is unequivocal about this:
    
    https://nodejs.org/api/process.html#warning-using-uncaughtexception-correctly
    
    Any code that can throw an exception should be wrapped in a `try/catch`
    or there should be some other method of handling the error.
    achingbrain committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    b67be90 View commit details
    Browse the repository at this point in the history