mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
Fixed backup stuck at unsupported format (#108)
* Added webp as supported file type, allow continue upload when an image fail * Added webp as supported file type, allow continue upload when an image fail * Solved issue with bad assets cause backup to stop
This commit is contained in:
@@ -112,7 +112,10 @@ class BackupService {
|
||||
}
|
||||
} on DioError catch (e) {
|
||||
debugPrint("DioError backupAsset: ${e.response}");
|
||||
break;
|
||||
if (e.type == DioErrorType.cancel || e.type == DioErrorType.other) {
|
||||
return;
|
||||
}
|
||||
continue;
|
||||
} catch (e) {
|
||||
debugPrint("ERROR backupAsset: ${e.toString()}");
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user