mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
just show err.message
This commit is contained in:
@@ -424,7 +424,7 @@ var fs = require('fs'),
|
|||||||
|
|
||||||
}, function(err, values) {
|
}, function(err, values) {
|
||||||
if (err) {
|
if (err) {
|
||||||
winston.error('[plugins] Problem executing hook: ' + hook + ' err: ' + err.stack);
|
winston.error('[plugins] ' + hook + ', ' + err.message);
|
||||||
}
|
}
|
||||||
|
|
||||||
callback(err, values);
|
callback(err, values);
|
||||||
|
|||||||
Reference in New Issue
Block a user