Nodejs attrape une exception non revêtue

process
	.on('uncaughtException', (err) => console.error(err, 'Uncaught Exception'))
	.on('unhandledRejection', (reason, promise) =>
		console.error(reason, 'Unhandled Rejection at', promise)
	);
Embarrassed Earthworm