mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
better exception
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
16fd088d91
commit
7702386ccc
1 changed files with 2 additions and 1 deletions
|
@ -317,7 +317,8 @@ public class DocumentsStorageProvider extends DocumentsProvider {
|
|||
.execute(client, currentStorageManager);
|
||||
|
||||
if (!result.isSuccess()) {
|
||||
throw new FileNotFoundException("Failed to rename document with documentId " + documentId);
|
||||
throw new FileNotFoundException("Failed to rename document with documentId " + documentId + ": " +
|
||||
result.getException());
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue