Browse Source

preserver exception history

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 2 years ago
parent
commit
0f1d86b1a5

+ 1 - 1
app/src/main/java/com/owncloud/android/operations/CreateFolderOperation.java

@@ -195,7 +195,7 @@ public class CreateFolderOperation extends SyncOperation implements OnRemoteOper
             return result;
         } catch (Exception e) {
             if (!EncryptionUtils.unlockFolder(parent, client, token).isSuccess()) {
-                throw new RuntimeException("Could not clean up after failing folder creation!");
+                throw new RuntimeException("Could not clean up after failing folder creation!", e);
             }
 
             // remove folder