Files
pm2/examples/v1/throw.js

5 lines
88 B
JavaScript

setTimeout(function() {
throw new Error('New error thrown automatically');
}, 1200);