by gnw · 13y ago · 0 comments
process.on('uncaughtException', function (err) {
// log it
});"Don't use it, use domains instead. If you do use it, restart your application after every unhandled exception!"
http://nodejs.org/api/process.html#process_event_uncaughtexc...