v1.18.x
barisusakli 10 years ago
parent 6809af536c
commit 14fdb9ebee

@ -425,7 +425,14 @@ var fs = require('fs'),
} }
hookObj.method(params, next); 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) { function fireActionHook(hook, hookList, params, callback) {

Loading…
Cancel
Save