From e2215b99126bb1d7e5b989309563c600886f3702 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Tue, 21 Apr 2015 20:27:40 -0400 Subject: [PATCH] don't blindly ignore error in install.js --- src/install.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/install.js b/src/install.js index c3fa0cb94f..a19d1ee8f2 100644 --- a/src/install.js +++ b/src/install.js @@ -55,7 +55,8 @@ function checkSetupFlag(next) { var setupVal; try { setupVal = JSON.parse(nconf.get('setup')); - } catch (e) { + } catch (err) { + winston.error('Was unable to parse JSON, continuing with regular setup.', err); setupVal = undefined; }