mirror of
https://github.com/immich-app/immich.git
synced 2025-11-18 13:32:37 +09:00
fix(web): show warning if upload completed with errors (#3634)
This commit is contained in:
@@ -173,6 +173,8 @@ async function fileUploader(
|
||||
}
|
||||
|
||||
function handleUploadError(asset: File, respBody = '{}', extraMessage?: string) {
|
||||
uploadAssetsStore.errorCounter.update((count) => count + 1);
|
||||
|
||||
try {
|
||||
const res = JSON.parse(respBody);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user