Do not alert when restart from webUI gets any other responses

This commit is contained in:
Yukino Song
2024-09-03 06:13:39 +08:00
parent 538a64a9cc
commit d332f1dadb

View File

@@ -274,9 +274,10 @@
} }
}) })
.catch((e) => { .catch((e) => {
this.serverRestarting = false; this.serverRestarting = false
console.error(e); location.href = './login'
alert("Restart error!"); console.error(e)
return
}); });
}, },
quit() { quit() {