just show err.message

v1.18.x
barisusakli 10 years ago
parent 5bf46864ed
commit 64cc0f244d

@ -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);

Loading…
Cancel
Save