removed winston log in plugin fireHook

v1.18.x
barisusakli 10 years ago
parent 4c7a4d3688
commit 6809af536c

@ -425,14 +425,7 @@ 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