hook error print to console in dev env

v1.18.x
Aziz Khoury 11 years ago
parent 61a5d4768a
commit aff3c9558a

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

Loading…
Cancel
Save