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