summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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;