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