From 1fb66b33564e86111c97fea6788c8de4444d2c99 Mon Sep 17 00:00:00 2001 From: Mohamed Zenadi Date: Sat, 31 Dec 2016 00:03:59 +0100 Subject: add the cause of jgit error to the message --- app/src/main/java/com/zeapo/pwdstore/git/GitAsyncTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src') 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 { aCmd.call(); } catch (Exception e) { e.printStackTrace(); - return e.getMessage(); + return e.getMessage() + "\nCaused by:\n" + e.getCause(); } } return ""; -- cgit v1.2.3