From 88b7dc2eb3dcbec8d1e637096867c15211818677 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 5 Nov 2021 02:38:26 +0100 Subject: Ensure tor state is set to OFF after snowflake completely stopped. --- .../java/se/leap/bitmaskclient/providersetup/ProviderApiManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/production') 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(); } -- cgit v1.2.3