mirror of
https://github.com/wassname/talk.git
synced 2026-07-09 21:18:58 +08:00
fixed logic
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user