Created
November 3, 2014 13:45
-
-
Save smarigowda/a62de0beb661053d5e8f to your computer and use it in GitHub Desktop.
Node.js
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
-- Generic uncaught exception handler | |
process.on('uncaughtException', function(err) { | |
console.error(err.stack); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment