summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-03-26 12:05:22 +0100
committercyberta <cyberta@riseup.net>2021-04-22 22:53:01 +0200
commit16add6d6595a49de9a7e68479c6a2bec382aec78 (patch)
treebbec18b2e983e0f26576f66832516fb91f856b74 /app/src/main/java
parent080d176ff73dd4bc7e42a0233b012a967dbbf77b (diff)
shorter debug log if GatewayManager parses Provider data that doesn't support menshen
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/GatewaysManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/GatewaysManager.java b/app/src/main/java/se/leap/bitmaskclient/eip/GatewaysManager.java
index 5f6910bf..77ecfc5f 100644
--- a/app/src/main/java/se/leap/bitmaskclient/eip/GatewaysManager.java
+++ b/app/src/main/java/se/leap/bitmaskclient/eip/GatewaysManager.java
@@ -17,6 +17,7 @@
package se.leap.bitmaskclient.eip;
import android.content.Context;
+import android.util.Log;
import androidx.annotation.Nullable;
@@ -264,7 +265,7 @@ public class GatewaysManager {
}
}
} catch (NullPointerException | JSONException npe) {
- npe.printStackTrace();
+ Log.d(TAG, "No valid geoip json found: " + npe.getLocalizedMessage());
}
}