Skip to content

Node.js based forum software built for the modern web

fixed debug output when plugin method is not found

Julian Lam5a527de28781
diff --git a/src/plugins.js b/src/plugins.js
index 2681b30dea..e2dbfb5ea1 100644
--- a/src/plugins.js
+++ b/src/plugins.js
@@ -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);
}