Skip to content

Node.js based forum software built for the modern web

hook error print to console in dev env

Aziz Khouryaff3c9558a01
diff --git a/src/plugins.js b/src/plugins.js
index e3c3121a6f..a1c715711b 100644
--- a/src/plugins.js
+++ b/src/plugins.js
@@ -334,7 +334,7 @@ var fs = require('fs'),
}, function(err, values) {
if (err) {
if (global.env === 'development') {
- winston.info('[plugins] Problem executing hook: ' + hook);
+ winston.info('[plugins] Problem executing hook: ' + hook + ' err: ' + JSON.stringify(err));
}
}