From 8307f9f8d4c0147acf1f99afd48bd53ae4caffa9 Mon Sep 17 00:00:00 2001 From: Mygod Date: Fri, 29 May 2020 01:18:07 -0400 Subject: [PATCH] Suppress reporting VpnMonitor interfaceName changed --- .../src/main/java/be/mygod/vpnhotspot/net/monitor/VpnMonitor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/net/monitor/VpnMonitor.kt b/mobile/src/main/java/be/mygod/vpnhotspot/net/monitor/VpnMonitor.kt index 5a203bc6..91cdc953 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/net/monitor/VpnMonitor.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/net/monitor/VpnMonitor.kt @@ -51,7 +51,7 @@ object VpnMonitor : UpstreamMonitor() { when (ifname) { null -> Timber.w("interfaceName became null: $oldProperties -> $properties") oldProperties.interfaceName -> losing = false - else -> Timber.w(RuntimeException("interfaceName changed: $oldProperties -> $properties")) + else -> Timber.w("interfaceName changed: $oldProperties -> $properties") } callbacks.toList() }.forEach {