pm2-gui/test/fixtures/throw.js

4 lines
119 B
JavaScript

console.log('App started.');
setTimeout(function(){
throw new Error('uncaughtException has been thrown.');
}, 15000);