uncaught javascript exception code example
Example: uncaught exception javascript
process.on('uncaughtException', function (err) { console.log('Caught exception: ' + err);});
process.on('uncaughtException', function (err) { console.log('Caught exception: ' + err);});