fix: 메인, 사령부의 alert를 toast로 이동

This commit is contained in:
2023-03-12 17:32:00 +09:00
parent ae76ce0abd
commit c88e3d1bfe
5 changed files with 75 additions and 17 deletions
+6 -2
View File
@@ -301,9 +301,13 @@ async function tryRefresh() {
//TODO: 서버와 클라이언트 버전이 다르다면 갱신 필요
} catch (e) {
responseLock = false;
//매우 심각한 버그
if(isString(e)){
toasts.danger({
title: "에러",
body: e,
});
}
console.error(e);
alert(`서버 갱신 실패: ${e}`);
throw e;
}
}