summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/EIP.java2
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderAPI.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java b/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
index 4db8f0c2..cf4dc9bf 100644
--- a/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
+++ b/app/src/main/java/se/leap/bitmaskclient/eip/EIP.java
@@ -136,7 +136,7 @@ public final class EIP extends JobIntentService implements Observer {
static void enqueueWork(Context context, Intent work) {
try {
enqueueWork(context, EIP.class, JOB_ID, work);
- } catch (IllegalStateException e) {
+ } catch (IllegalStateException | IllegalArgumentException e) {
e.printStackTrace();
}
}
diff --git a/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderAPI.java b/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderAPI.java
index 709ca651..022ad040 100644
--- a/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderAPI.java
+++ b/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderAPI.java
@@ -117,7 +117,7 @@ public class ProviderAPI extends JobIntentService implements ProviderApiManagerB
static void enqueueWork(Context context, Intent work) {
try {
ProviderAPI.enqueueWork(context, ProviderAPI.class, JOB_ID, work);
- } catch (IllegalStateException e) {
+ } catch (IllegalStateException | IllegalArgumentException e) {
e.printStackTrace();
}
}