add the cause of jgit error to the message

This commit is contained in:
Mohamed Zenadi 2016-12-31 00:03:59 +01:00
parent 0b5b986691
commit 1fb66b3356

View file

@ -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 "";