fix: winston usages

This commit is contained in:
Barış Soner Uşaklı
2020-11-26 13:56:34 -05:00
parent 414caac01b
commit b8cafefce2
10 changed files with 24 additions and 8 deletions

View File

@@ -333,7 +333,7 @@ Notifications.prune = async function () {
}, { batch: 500, interval: 100 });
} catch (err) {
if (err) {
winston.error('Encountered error pruning notifications', err.stack);
winston.error('Encountered error pruning notifications\n' + err.stack);
}
}
};