mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 12:01:17 +01:00
more winston, issue #62
This commit is contained in:
@@ -6,7 +6,8 @@ var RDB = require('./redis.js'),
|
||||
notifications = require('./notifications.js'),
|
||||
posts = require('./posts'),
|
||||
reds = require('reds'),
|
||||
topicSearch = reds.createSearch('nodebbtopicsearch');
|
||||
topicSearch = reds.createSearch('nodebbtopicsearch'),
|
||||
winston = require('winston');
|
||||
|
||||
(function(ThreadTools) {
|
||||
|
||||
@@ -192,7 +193,7 @@ var RDB = require('./redis.js'),
|
||||
|
||||
categories.moveRecentReplies(tid, oldCid, cid, function(err, data) {
|
||||
if(err) {
|
||||
console.log(err);
|
||||
winston.err(err);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user