summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/ProviderAPI.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/se/leap/leapclient/ProviderAPI.java')
-rw-r--r--src/se/leap/leapclient/ProviderAPI.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/se/leap/leapclient/ProviderAPI.java b/src/se/leap/leapclient/ProviderAPI.java
index 07452a44..4ffd2762 100644
--- a/src/se/leap/leapclient/ProviderAPI.java
+++ b/src/se/leap/leapclient/ProviderAPI.java
@@ -6,6 +6,7 @@ import java.security.NoSuchAlgorithmException;
import java.util.List;
import java.net.MalformedURLException;
import java.net.URL;
+import java.net.UnknownHostException;
import java.util.Scanner;
import org.apache.http.HttpEntity;
@@ -247,6 +248,8 @@ public class ProviderAPI extends IntentService {
provider_json = new JSONObject(provider_json_string);
} catch (MalformedURLException e1) {
e1.printStackTrace();
+ } catch (UnknownHostException e1) {
+ e1.printStackTrace();
} catch (IOException e1) {
e1.printStackTrace();
} catch (JSONException e1) {