Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node js catch any errors

process.on('uncaughtException', function(err) {
  console.log('Caught exception: ' + err);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #node #js #catch #errors
ADD COMMENT
Topic
Name
5+4 =