Skip to content

Node.js based forum software built for the modern web

Merge remote-tracking branch 'origin/master' into web-install

psychobunny948ad5fb44b5
diff --cc src/install.js
index 262ec0c749,e5226cb78e..972f59c7be
--- a/src/install.js
+++ b/src/install.js
@@@ -52,11 -52,11 +52,12 @@@ questions.optional =
];
function checkSetupFlag(next) {
- var setupVal;
+ var envSetupKeys = ['database'],
+ 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;
}