diff options
author | Parménides GV <parmegv@sdf.org> | 2013-04-16 18:14:47 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-04-16 18:14:47 +0200 |
commit | fbfdf86a1df28ccf8f1854c2e2a4c7b3135d50ae (patch) | |
tree | 0d85848b9b0a036147dd53b5ba847b8227e38f49 /src/se/leap/leapclient/ProviderAPI.java | |
parent | 418264e2a78371d133b510122f5ac3c9bd940764 (diff) |
Fixed bug #2225 (https://leap.se/code/issues/2225)
Diffstat (limited to 'src/se/leap/leapclient/ProviderAPI.java')
-rw-r--r-- | src/se/leap/leapclient/ProviderAPI.java | 3 |
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) { |