summaryrefslogtreecommitdiff
path: root/app/src/production
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/production')
-rw-r--r--app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java b/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java
index c60e21dc..ceb3be3e 100644
--- a/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java
+++ b/app/src/production/java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java
@@ -336,7 +336,7 @@ public class ProviderApiManager extends ProviderApiManagerBase {
) {
return downloadWithCommercialCA(stringUrl, provider, 1);
}
- } catch (InterruptedException | TimeoutException e) {
+ } catch (InterruptedException | IllegalStateException | TimeoutException e) {
e.printStackTrace();
}
return responseString;
@@ -380,7 +380,7 @@ public class ProviderApiManager extends ProviderApiManagerBase {
) {
return downloadFromUrlWithProviderCA(urlString, provider, 1);
}
- } catch (InterruptedException | TimeoutException e) {
+ } catch (InterruptedException | IllegalStateException | TimeoutException e) {
e.printStackTrace();
}