Merge remote-tracking branch 'origin/master' into 0.7.0

v1.18.x
barisusakli 10 years ago
commit 2512598917

@ -123,12 +123,18 @@ module.exports = function(Plugins) {
next();
}, 5000);
hookObj.method(params, function() {
try {
hookObj.method(params, function() {
clearTimeout(timeoutId);
if (!timedOut) {
next.apply(null, arguments);
}
});
} catch(err) {
winston.error('[plugins] Error executing \'' + hook + '\' in plugin \'' + hookObj.id + '\'');
clearTimeout(timeoutId);
if (!timedOut) {
next.apply(null, arguments);
}
});
next();
}
} else {
next();
}

Loading…
Cancel
Save