Update sync.d

* Catch an error when the file being uploaded disappears during session upload
This commit is contained in:
abraunegg 2024-01-07 20:18:28 +11:00
parent 8a7a85062c
commit 8f0a6d13c6

View file

@ -5259,6 +5259,12 @@ class SyncEngine {
displayFileSystemErrorMessage(e.msg, getFunctionName!({}));
return uploadResponse;
}
} catch (ErrnoException e) {
// There was a file system error
// display the error message
displayFileSystemErrorMessage(e.msg, getFunctionName!({}));
uploadResponse = null;
return uploadResponse;
}
// was the fragment uploaded without issue?