mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
fix: winston usages
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user