Skip to content

Commit a01ab77

Browse files
fix: do not exit on unhandled rejection or uncaught exception
1 parent 676f2ed commit a01ab77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logger/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const { context, trace } = require('@opentelemetry/api');
3232

3333
const {combine, timestamp, prettyPrint, errors} = winston.format;
3434
const logger = winston.createLogger({
35-
exitOnError: true,
35+
exitOnError: false,
3636
level: process.env.LOG_LEVEL || LOG_LEVEL_INFO,
3737
format: combine(
3838
timestamp(),

0 commit comments

Comments
 (0)