mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-28 10:20:22 +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!({}));
|
displayFileSystemErrorMessage(e.msg, getFunctionName!({}));
|
||||||
return uploadResponse;
|
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?
|
// was the fragment uploaded without issue?
|
||||||
|
|
Loading…
Reference in a new issue