Created
October 9, 2013 08:24
-
-
Save inlanger/6898015 to your computer and use it in GitHub Desktop.
Silent catch uncaughtException in NodeJS
From http://shapeshed.com/uncaught-exceptions-in-node/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process.on('uncaughtException', function (err) { | |
console.log(err); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment