mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-24 08:20:03 +02:00
Update sync.d
* Catch an error when the file being uploaded disappears during session upload
This commit is contained in:
parent
8a7a85062c
commit
8f0a6d13c6
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue