hook error print to console in dev env

This commit is contained in:
Aziz Khoury
2014-05-15 03:08:24 -04:00
parent 61a5d4768a
commit aff3c9558a

View File

@@ -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));
}
}