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

@@ -139,7 +139,7 @@ Analytics.writeData = async function () {
try {
await Promise.all(dbQueue);
} catch (err) {
winston.error('[analytics] Encountered error while writing analytics to data store', err.stack);
winston.error('[analytics] Encountered error while writing analytics to data store\n' + err.stack);
throw err;
}
};