diff --git a/services/wow-classic/scans.js b/services/wow-classic/scans.js index d3eb7047..7c443f2f 100644 --- a/services/wow-classic/scans.js +++ b/services/wow-classic/scans.js @@ -10,7 +10,7 @@ const sleep = (ms) => new Promise(resolve => setTimeout(resolve, ms)) if (prod) { process.on('uncaughtException', (err) => { console.log(err) - process.exit(1) + if (err.statusCode !== 500) process.exit(1) }) process.on('unhandledRejection', (err) => { console.log(err)