don't blindly ignore error in install.js

v1.18.x
psychobunny 10 years ago
parent 89c863caa7
commit e2215b9912

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

Loading…
Cancel
Save