diff options
author | Markus Doits <markus.doits@gmail.com> | 2011-01-11 22:24:08 +0000 |
---|---|---|
committer | Markus Doits <markus.doits@gmail.com> | 2011-01-11 22:24:08 +0000 |
commit | fc05dfd8b7260ed042a4c78f66256d775bd6e9d2 (patch) | |
tree | 87bd8e2baec64400cef9ff25534025797f5e0158 /src | |
parent | d367bc12f833bed8082c99936e0ac5b86a95faf7 (diff) | |
download | open-keychain-fc05dfd8b7260ed042a4c78f66256d775bd6e9d2.tar.gz open-keychain-fc05dfd8b7260ed042a4c78f66256d775bd6e9d2.tar.bz2 open-keychain-fc05dfd8b7260ed042a4c78f66256d775bd6e9d2.zip |
Prevent null pointer exception
Error-msg should be better, though.
Diffstat (limited to 'src')
-rw-r--r-- | src/org/thialfihar/android/apg/utils/ApgCon.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/thialfihar/android/apg/utils/ApgCon.java b/src/org/thialfihar/android/apg/utils/ApgCon.java index 959e38ac2..6b74dca0a 100644 --- a/src/org/thialfihar/android/apg/utils/ApgCon.java +++ b/src/org/thialfihar/android/apg/utils/ApgCon.java @@ -134,7 +134,7 @@ public class ApgCon { pReturn.putInt("CLASS_ERROR", error.CALL_NOT_KNOWN.ordinal()); return false; } catch (Exception e) { - Log.d(TAG, e.getMessage()); + Log.d(TAG, ""+e.getMessage()); error_list.add("CLASS: " + e.getMessage()); pReturn.putInt("CLASS_ERROR", error.GENERIC.ordinal()); return false; |