diff options
author | Mohamed Zenadi <mohamed@zenadi.com> | 2016-12-31 00:03:59 +0100 |
---|---|---|
committer | Mohamed Zenadi <mohamed@zenadi.com> | 2016-12-31 00:03:59 +0100 |
commit | 1fb66b33564e86111c97fea6788c8de4444d2c99 (patch) | |
tree | da205429b50df6411e560d9efa57711859ff6b84 /app | |
parent | 0b5b98669172322c66b76c947f382ef806dbc304 (diff) |
add the cause of jgit error to the message
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/git/GitAsyncTask.java | 2 |
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 ""; |