Skip to content

Node.js based forum software built for the modern web

derprelic

Barış Soner Uşaklıe14b0b38bea1
diff --git a/src/plugins/index.js b/src/plugins/index.js
index 1462f89faa..babb3ceba4 100644
--- a/src/plugins/index.js
+++ b/src/plugins/index.js
@@ -45,7 +45,7 @@ module.require = function (p) {
// if we can't find the module try in parent directory
// since plugins.js moved into plugins folder
if (err.code === 'MODULE_NOT_FOUND') {
- winston.warn('[plugins/require] ' + err.message + ', please update your plugin!\n' + err.stack.split('\n').slice(4, 7).join('\n'));
+ winston.warn('[plugins/require] ' + err.message + ', please update your plugin!\n' + err.stack.split('\n').slice(5, 7).join('\n'));
if (path.isAbsolute(p)) {
throw err;
}