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()
|
// 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!' })
|
||||||
|
|
Loading…
Reference in New Issue