fixed debug output when plugin method is not found

v1.18.x
Julian Lam 11 years ago
parent 3ff550914f
commit 5a527de287

@ -219,7 +219,7 @@ var fs = require('fs'),
} }
} else { } else {
if (global.env === 'development') { if (global.env === 'development') {
winston.info('[plugins] Expected method \'' + hookObj.method + '\' in plugin \'' + hookObj.id + '\' not found, skipping.'); winston.info('[plugins] Expected method for hook \'' + hook + '\' in plugin \'' + hookObj.id + '\' not found, skipping.');
} }
next(null, value); next(null, value);
} }

Loading…
Cancel
Save