From aff3c9558a01ef5bdb2a0d7ff08c6db30383dd87 Mon Sep 17 00:00:00 2001 From: Aziz Khoury Date: Thu, 15 May 2014 03:08:24 -0400 Subject: [PATCH] hook error print to console in dev env --- src/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }