diff options
author | Parménides GV <parmegv@sdf.org> | 2014-03-31 22:08:46 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-03-31 22:08:46 +0200 |
commit | 6f849f59ee7759c9c7723135a08a29d2e2c47b41 (patch) | |
tree | 391f6ff277a581ddf1d29e81c995dc1d8b686918 /src | |
parent | 975180694ea18561ec82c5e56c1bb5950fe793af (diff) | |
parent | 232a2b39e7c82df63a8110d8b9fe928cfeb89fa0 (diff) |
Merge branch 'bug/Crash-if-the-chosen-provider-doesn't-offer-eip-5402' into develop
Diffstat (limited to 'src')
-rw-r--r-- | src/se/leap/bitmaskclient/Provider.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/se/leap/bitmaskclient/Provider.java b/src/se/leap/bitmaskclient/Provider.java index 598999fd..216f4261 100644 --- a/src/se/leap/bitmaskclient/Provider.java +++ b/src/se/leap/bitmaskclient/Provider.java @@ -168,9 +168,11 @@ public final class Provider implements Serializable { return true; } catch (NullPointerException e){ e.printStackTrace(); + return false; } catch (JSONException e) { // TODO Auto-generated catch block e.printStackTrace(); + return false; } } return false; |