feat: display stack trace on winston.error

This commit is contained in:
Barış Soner Uşaklı
2020-06-20 23:32:12 -04:00
parent 55f8f99bcd
commit e80379dc0e
31 changed files with 43 additions and 44 deletions

View File

@@ -88,7 +88,7 @@ Logger.open = function (value) {
if (stream) {
stream.on('error', function (err) {
winston.error(err);
winston.error(err.stack);
});
}
} else {