diff options
author | Parménides GV <parmegv@sdf.org> | 2014-11-13 17:16:33 +0100 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-11-13 17:16:33 +0100 |
commit | d8055ea06f6e5cd2b010094831e0602c6aea97aa (patch) | |
tree | 9a5ac547720e7ada2597ae9d09717ae46abd9dbc /app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java | |
parent | 8007384a1c8056308016ddb3291c149083a549e3 (diff) | |
parent | 5870156057b9d1f6f0bd8c22824b7e0fd8ec300b (diff) |
Merge branch 'bug/JSON-error-when-updating-client-certificate-#6364' into develop
Diffstat (limited to 'app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java')
-rw-r--r-- | app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java b/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java index 1b2d723d..804e4b27 100644 --- a/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java +++ b/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java @@ -743,6 +743,7 @@ public class ProviderAPI extends IntentService { // TODO Auto-generated catch block e.printStackTrace(); } catch (UnknownHostException e) { + e.printStackTrace(); json_file_content = formatErrorMessage(R.string.server_unreachable_message); } catch (IOException e) { // The downloaded certificate doesn't validate our https connection. @@ -761,6 +762,7 @@ public class ProviderAPI extends IntentService { // TODO Auto-generated catch block e.printStackTrace(); } catch (NoSuchElementException e) { + e.printStackTrace(); json_file_content = formatErrorMessage(R.string.server_unreachable_message); } return json_file_content; |