diff --git a/run.js b/run.js index f0416e7c5757eb465abe4fa9577e228183746ed0..f7222a71c8cb4f5fea5e4bd7126630c448ab952e 100644 --- a/run.js +++ b/run.js @@ -10,6 +10,7 @@ if (process.argv.length === 2) { process.on('uncaughtException', (err) => { // Dunno why this specific exception is not caught if (err.code !== "EADDRNOTAVAIL" && err.code !== "EINVAL" && err.code !== "ENOENT") { + console.error(err) process.exit(2); } })