Skip to content

Commit

Permalink
Disabled errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Nakroma committed Aug 31, 2022
1 parent 3f02d3f commit 368432b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/wow-classic/scans.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ const sleep = (ms) => new Promise(resolve => setTimeout(resolve, ms))
if (prod) {
process.on('uncaughtException', (err) => {
console.log(err)
if (err.statusCode !== 500) process.exit(1)
// process.exit(1)
})
process.on('unhandledRejection', (err) => {
console.log(err)
process.exit(1)
// process.exit(1)
})
}

Expand Down

0 comments on commit 368432b

Please sign in to comment.