From 16add6d6595a49de9a7e68479c6a2bec382aec78 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 26 Mar 2021 12:05:22 +0100 Subject: shorter debug log if GatewayManager parses Provider data that doesn't support menshen --- app/src/main/java/se/leap/bitmaskclient/eip/GatewaysManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app') 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()); } } -- cgit v1.2.3