fix: hook names getting objectified by winston

This commit is contained in:
Barış Soner Uşaklı
2019-02-21 18:27:29 -05:00
parent 03305db845
commit 6472a06515

View File

@@ -99,7 +99,7 @@ module.exports = function (Plugins) {
}
var hookList = Plugins.loadedHooks[hook];
var hookType = hook.split(':')[0];
winston.verbose('[plugins/fireHook]', hook);
winston.verbose('[plugins/fireHook] ' + hook);
switch (hookType) {
case 'filter':
fireFilterHook(hook, hookList, params, done);