mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix(web): show warning if upload completed with errors (#3634)
This commit is contained in:
parent
a815592954
commit
a8b01dc21a
3 changed files with 18 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue