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