process.on('uncaughtException', function (err) {
    console.log('Caught exception: ' + err);
});


http://nodeqa.com/nodejs_ref/1




http://hangaebal.blogspot.kr/2014/07/nodejs-error-handling.html

+ Recent posts