removing uncaughtException

This commit is contained in:
unknown 2023-03-25 10:09:05 +01:00
parent 64c9cac254
commit d883f709a0
1 changed files with 3 additions and 3 deletions

View File

@ -39,9 +39,9 @@ auto.handleCheck()
// auto.handleCheck() // auto.handleCheck()
// }, 300000) // }, 300000)
process.on('uncaughtException', err => { // process.on('uncaughtException', err => {
logger.info({ message: `Error: ${err.message}` }) // logger.info({ message: `Error: ${err.message}` })
}) // })
app.listen(1337, () => { app.listen(1337, () => {
logger.info({ message: 'Server listening on port 1337!' }) logger.info({ message: 'Server listening on port 1337!' })