mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 08:58:30 +03:00
Fix result stuff
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
157ceaba60
commit
74fe115087
1 changed files with 2 additions and 2 deletions
|
@ -427,10 +427,10 @@ public class UploadFileOperation extends SyncOperation {
|
|||
|
||||
} catch (FileNotFoundException e) {
|
||||
Log_OC.d(TAG, mOriginalStoragePath + " not exists anymore");
|
||||
return new RemoteOperationResult(ResultCode.LOCAL_FILE_NOT_FOUND);
|
||||
result = new RemoteOperationResult(ResultCode.LOCAL_FILE_NOT_FOUND);
|
||||
} catch (OverlappingFileLockException e) {
|
||||
Log_OC.d(TAG, "Overlapping file lock exception");
|
||||
return new RemoteOperationResult(ResultCode.LOCK_FAILED);
|
||||
result = new RemoteOperationResult(ResultCode.LOCK_FAILED);
|
||||
} catch (Exception e) {
|
||||
result = new RemoteOperationResult(e);
|
||||
|
||||
|
|
Loading…
Reference in a new issue