diff options
author | Parménides GV <parmegv@sdf.org> | 2014-08-13 23:45:41 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-08-13 23:45:41 +0200 |
commit | 43f51cf6c008aca1cb781ae54d38776462534270 (patch) | |
tree | 144df6c5f6a8d61e8c65061c9a6bc9c19168914e /app/src/debug | |
parent | 385554b1e9039e689cb00c8bd2799ab7f6f3e9ca (diff) | |
parent | dcf4b5f63e817a8ebff1ffd8cf1d4f4f4b7295fd (diff) |
Merge branch 'develop' into release-0.6.0
Diffstat (limited to 'app/src/debug')
-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 5549252e..63c022bf 100644 --- a/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java +++ b/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java @@ -763,6 +763,8 @@ public class ProviderAPI extends IntentService { } catch (KeyManagementException e) { // TODO Auto-generated catch block e.printStackTrace(); + } catch (NoSuchElementException e) { + json_file_content = formatErrorMessage(R.string.server_unreachable_message); } return json_file_content; } |