summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2023-10-04 14:35:00 +0200
committerAndrej Mihajlov <and@mullvad.net>2023-10-05 11:35:50 +0200
commitbcf5c566b4ef73591c3c6a62d9965379d046c69b (patch)
tree9f4f77d38c95e6ac0259bda022b71f58cb99585b
parent226134e1b9a96c272da3c73321fdd43a21806e44 (diff)
downloadmullvadvpn-bcf5c566b4ef73591c3c6a62d9965379d046c69b.tar.xz
mullvadvpn-bcf5c566b4ef73591c3c6a62d9965379d046c69b.zip
Fix log output of duration
-rw-r--r--ios/MullvadVPN/TunnelManager/TunnelManager.swift4
1 files changed, 1 insertions, 3 deletions
diff --git a/ios/MullvadVPN/TunnelManager/TunnelManager.swift b/ios/MullvadVPN/TunnelManager/TunnelManager.swift
index 260a2edd7e..4e6bfc6163 100644
--- a/ios/MullvadVPN/TunnelManager/TunnelManager.swift
+++ b/ios/MullvadVPN/TunnelManager/TunnelManager.swift
@@ -1077,9 +1077,7 @@ final class TunnelManager: StorePaymentObserver {
isPolling = true
- logger.debug(
- "Start polling tunnel status every \(interval) second(s)."
- )
+ logger.debug("Start polling tunnel status every \(interval.logFormat()).")
let timer = DispatchSource.makeTimerSource(queue: .main)
timer.setEventHandler { [weak self] in