aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2016-12-31 00:03:59 +0100
committerMohamed Zenadi <mohamed@zenadi.com>2016-12-31 00:03:59 +0100
commit1fb66b33564e86111c97fea6788c8de4444d2c99 (patch)
treeda205429b50df6411e560d9efa57711859ff6b84
parent0b5b98669172322c66b76c947f382ef806dbc304 (diff)
add the cause of jgit error to the message
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/git/GitAsyncTask.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/git/GitAsyncTask.java b/app/src/main/java/com/zeapo/pwdstore/git/GitAsyncTask.java
index 70d3482f..42984338 100644
--- a/app/src/main/java/com/zeapo/pwdstore/git/GitAsyncTask.java
+++ b/app/src/main/java/com/zeapo/pwdstore/git/GitAsyncTask.java
@@ -39,7 +39,7 @@ public class GitAsyncTask extends AsyncTask<GitCommand, Integer, String> {
aCmd.call();
} catch (Exception e) {
e.printStackTrace();
- return e.getMessage();
+ return e.getMessage() + "\nCaused by:\n" + e.getCause();
}
}
return "";