process catch

This commit is contained in:
hatim boufnichel 2021-04-21 23:40:28 +02:00
parent b0ec9a654e
commit 2827fec643

View file

@ -1,7 +1,10 @@
/**
* @prettier
*/
process.on('uncaughtException', e => {
console.log('something bad happened!')
console.log(e)
})
/**
* Module dependencies.
*/