mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-23 17:22:16 -05:00
Prevent null pointer exception
Error-msg should be better, though.
This commit is contained in:
parent
d367bc12f8
commit
fc05dfd8b7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user