diff options
author | Markus Doits <markus.doits@gmail.com> | 2011-01-20 16:40:45 +0000 |
---|---|---|
committer | Markus Doits <markus.doits@gmail.com> | 2011-01-20 16:40:45 +0000 |
commit | 72ab7fb25ffe193aa418ba0ba31fc292d8235e62 (patch) | |
tree | 26138dba57e85dda31ab3dae22cde00f6b18a5c5 | |
parent | 3e158d0afc585e9fddd202c0fb7ddbe3f215fc30 (diff) | |
download | open-keychain-72ab7fb25ffe193aa418ba0ba31fc292d8235e62.tar.gz open-keychain-72ab7fb25ffe193aa418ba0ba31fc292d8235e62.tar.bz2 open-keychain-72ab7fb25ffe193aa418ba0ba31fc292d8235e62.zip |
Some more error output
-rw-r--r-- | src/org/thialfihar/android/apg/utils/ApgCon.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/thialfihar/android/apg/utils/ApgCon.java b/src/org/thialfihar/android/apg/utils/ApgCon.java index 9c47f111e..16ba94a1f 100644 --- a/src/org/thialfihar/android/apg/utils/ApgCon.java +++ b/src/org/thialfihar/android/apg/utils/ApgCon.java @@ -45,7 +45,7 @@ public class ApgCon { warning_list.add("(LOCAL) Could not execute callback, method '" + callback_method + "' not found"); } catch (Exception e) { Log.w(TAG, "Exception on callback: (" + e.getClass() + ") " + e.getMessage()); - warning_list.add("(LOCAL) Could not execute callback"); + warning_list.add("(LOCAL) Could not execute callback (" + e.getClass() + "): " + e.getMessage()); } } } @@ -304,7 +304,7 @@ public class ApgCon { local_error = error.CALL_NOT_KNOWN; return false; } catch (Exception e) { - Log.e(TAG, "" + e.getMessage()); + Log.e(TAG, "Generic error (" + e.getClass() + "): " + e.getMessage()); error_list.add("(LOCAL) Generic error (" + e.getClass() + "): " + e.getMessage()); local_error = error.GENERIC; return false; @@ -525,7 +525,7 @@ public class ApgCon { return -1; } } - + public void clear_remote_error() { result.remove(ret.ERROR.name()); } |