mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-16 15:08:46 +00:00
파일을 업로드하는 도중에 HTTP 연결이 끊기면 서버가 크래시되던 버그 수정
This commit is contained in:
@@ -66,9 +66,9 @@
|
||||
info = getDirectoryInfo(data.id, $masterKeyStore?.get(1)?.key!);
|
||||
window.alert("파일이 업로드되었어요.");
|
||||
})
|
||||
.catch(() => {
|
||||
.catch((e: Error) => {
|
||||
// TODO: FIXME
|
||||
window.alert("파일 업로드에 실패했어요.");
|
||||
window.alert(`파일 업로드에 실패했어요.\n${e.message}`);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user