removing uncaughtException
This commit is contained in:
parent
64c9cac254
commit
d883f709a0
6
index.js
6
index.js
|
@ -39,9 +39,9 @@ auto.handleCheck()
|
|||
// auto.handleCheck()
|
||||
// }, 300000)
|
||||
|
||||
process.on('uncaughtException', err => {
|
||||
logger.info({ message: `Error: ${err.message}` })
|
||||
})
|
||||
// process.on('uncaughtException', err => {
|
||||
// logger.info({ message: `Error: ${err.message}` })
|
||||
// })
|
||||
|
||||
app.listen(1337, () => {
|
||||
logger.info({ message: 'Server listening on port 1337!' })
|
||||
|
|
Loading…
Reference in New Issue