diff --git a/serve.js b/serve.js index 137a6ddc3..77de110cf 100644 --- a/serve.js +++ b/serve.js @@ -92,7 +92,8 @@ async function serve({ jobs = false, websockets = false } = {}) { } catch (e) { // Check the error. switch (e) { - case errors.ErrInstallLock || errors.ErrSettingsInit: + case errors.ErrInstallLock: + case errors.ErrSettingsInit: debug('setup is not currently available, migrations now being checked'); // The error was expected, just continue.