mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-05 20:59:43 +02:00
don't blindly ignore error in install.js
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user