fixed debug output when plugin method is not found

This commit is contained in:
Julian Lam
2013-12-31 17:19:37 -05:00
parent 3ff550914f
commit 5a527de287

View File

@@ -219,7 +219,7 @@ var fs = require('fs'),
}
} else {
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);
}