From ae4b0fd8d3ca553fbaa285b545d31bb8f321d87d Mon Sep 17 00:00:00 2001 From: any116 Date: Tue, 29 Oct 2024 13:37:34 +0800 Subject: [PATCH] Optimize up sub error log (#3805) * Optimize up sub error log Optimize the update subscription error log when not use proxy first. * Update AngConfigManager.kt * Update AngConfigManager.kt * Update AngConfigManager.kt --- .../app/src/main/kotlin/com/v2ray/ang/util/AngConfigManager.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/util/AngConfigManager.kt b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/util/AngConfigManager.kt index ab4a4b9e0..5d2699545 100644 --- a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/util/AngConfigManager.kt +++ b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/util/AngConfigManager.kt @@ -365,7 +365,8 @@ object AngConfigManager { val httpPort = SettingsManager.getHttpPort() Utils.getUrlContentWithCustomUserAgent(url, 30000, httpPort) } catch (e: Exception) { - e.printStackTrace() + Log.e(AppConfig.ANG_PACKAGE, "Update subscription: proxy not ready or other error, try……") + //e.printStackTrace() "" } if (configText.isEmpty()) {