fix: don't exit on uncaught exceptions
This commit is contained in:
parent
21bdf5f60a
commit
111ba96cfe
1 changed files with 2 additions and 1 deletions
|
|
@ -20,7 +20,8 @@ const logger = new winston.Logger({
|
||||||
],
|
],
|
||||||
rewriters: [
|
rewriters: [
|
||||||
(...[,, meta]) => meta instanceof Error ? { message: meta.message, stack: meta.stack } : meta
|
(...[,, meta]) => meta instanceof Error ? { message: meta.message, stack: meta.stack } : meta
|
||||||
]
|
],
|
||||||
|
exitOnError: false
|
||||||
})
|
})
|
||||||
|
|
||||||
logger.stream = {
|
logger.stream = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue