summaryrefslogtreecommitdiff
path: root/src/se/leap/bitmaskclient/Provider.java
diff options
context:
space:
mode:
authorcyBerta <richy@cyborgsociety.org>2013-11-23 03:23:05 +0100
committerParménides GV <parmegv@sdf.org>2013-12-04 16:00:48 +0100
commite60be47e5a46b794846b166993260f17a54a19ad (patch)
tree8964645cc720e5edb2880747699651920b54d415 /src/se/leap/bitmaskclient/Provider.java
parentdc417fbfc67d8edaad58effde3a6a73fbeeab1da (diff)
switch provider part 1
Diffstat (limited to 'src/se/leap/bitmaskclient/Provider.java')
-rw-r--r--src/se/leap/bitmaskclient/Provider.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/se/leap/bitmaskclient/Provider.java b/src/se/leap/bitmaskclient/Provider.java
index e462829f..f36e5946 100644
--- a/src/se/leap/bitmaskclient/Provider.java
+++ b/src/se/leap/bitmaskclient/Provider.java
@@ -166,6 +166,8 @@ public final class Provider implements Serializable {
// Walk the EIP types array looking for matches in provider's service definitions
if ( Arrays.asList(API_EIP_TYPES).contains( services.getString(i) ) )
return true;
+ } catch (NullPointerException e){
+ e.printStackTrace();
} catch (JSONException e) {
// TODO Auto-generated catch block
e.printStackTrace();