1 2 3 4 5
// eslint-disable-next-line unicorn/no-empty-file process.on('uncaughtException', err => { // handle the error safely console.error(err); });