This commit is contained in:
Barış Soner Uşaklı
2018-10-16 15:17:14 -04:00
parent 5dbc7f032a
commit f4df89fe90
3 changed files with 9 additions and 4 deletions

View File

@@ -33,7 +33,9 @@ function setupWinston() {
level: nconf.get('log-level') || (global.env === 'production' ? 'info' : 'verbose'),
format: winston.format.combine.apply(null, formats),
transports: [
new winston.transports.Console(),
new winston.transports.Console({
handleExceptions: true,
}),
],
});
}