diff --git a/src/plugins.js b/src/plugins.js index 75a33628cd..b9741e1bec 100644 --- a/src/plugins.js +++ b/src/plugins.js @@ -425,7 +425,14 @@ var fs = require('fs'), } hookObj.method(params, next); - }, callback); + + }, function(err, values) { + if (err) { + winston.error('[plugins] Problem executing hook: ' + hook + ' err: ' + err.stack); + } + + callback(err, values); + }); } function fireActionHook(hook, hookList, params, callback) {