diff options
author | Parménides GV <parmegv@sdf.org> | 2014-11-13 01:16:36 +0100 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-11-13 01:16:36 +0100 |
commit | 5870156057b9d1f6f0bd8c22824b7e0fd8ec300b (patch) | |
tree | 9a5ac547720e7ada2597ae9d09717ae46abd9dbc /app/src/release/java/se | |
parent | 15d2881a189c1663ae1b8bd9ecf056af0dcc0ff0 (diff) |
Delete all vpn profiles if updating them.
Diffstat (limited to 'app/src/release/java/se')
-rw-r--r-- | app/src/release/java/se/leap/bitmaskclient/ProviderAPI.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/release/java/se/leap/bitmaskclient/ProviderAPI.java b/app/src/release/java/se/leap/bitmaskclient/ProviderAPI.java index 1c384581..f419afaf 100644 --- a/app/src/release/java/se/leap/bitmaskclient/ProviderAPI.java +++ b/app/src/release/java/se/leap/bitmaskclient/ProviderAPI.java @@ -740,6 +740,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. @@ -754,6 +755,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; |