mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
Provide more error information to logs
Provides full stack instead of just message
This commit is contained in:
@@ -100,7 +100,7 @@ Analytics.writeData = function (callback) {
|
||||
|
||||
async.parallel(dbQueue, function (err) {
|
||||
if (err) {
|
||||
winston.error('[analytics] Encountered error while writing analytics to data store: ' + err.message);
|
||||
winston.error('[analytics] Encountered error while writing analytics to data store', err);
|
||||
}
|
||||
callback(err);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user