mirror of
https://github.com/wassname/talk.git
synced 2026-10-29 13:40:57 +08:00
fixed logic
This commit is contained in:
1 parent
e9a781607a
commit
ec8cfdf5f7
1 file changed
+2
-1
@@ -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