Uncaughtexception JavaScript

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