mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
hook error print to console in dev env
This commit is contained in:
@@ -334,7 +334,7 @@ var fs = require('fs'),
|
||||
}, function(err, values) {
|
||||
if (err) {
|
||||
if (global.env === 'development') {
|
||||
winston.info('[plugins] Problem executing hook: ' + hook);
|
||||
winston.info('[plugins] Problem executing hook: ' + hook + ' err: ' + JSON.stringify(err));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user