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