Skip to content

Commit 1bde033

Browse files
any116AnGgIt886
authored andcommitted
perf(): Optimize up sub error log
Optimize the update subscription error log when not use proxy first.
1 parent e57009d commit 1bde033

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/main/kotlin/com/neko/v2ray/util/AngConfigManager.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,8 @@ object AngConfigManager {
364364
val httpPort = SettingsManager.getHttpPort()
365365
Utils.getUrlContentWithCustomUserAgent(url, 30000, httpPort)
366366
} catch (e: Exception) {
367-
e.printStackTrace()
367+
Log.e(AppConfig.ANG_PACKAGE, "Update subscription: proxy not ready or other error, try……")
368+
//e.printStackTrace()
368369
""
369370
}
370371
if (configText.isEmpty()) {

0 commit comments

Comments
 (0)