mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
add the cause of jgit error to the message
This commit is contained in:
@@ -39,7 +39,7 @@ public class GitAsyncTask extends AsyncTask<GitCommand, Integer, String> {
|
|||||||
aCmd.call();
|
aCmd.call();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
return e.getMessage();
|
return e.getMessage() + "\nCaused by:\n" + e.getCause();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
|
Reference in New Issue
Block a user