summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN/AutomaticKeyRotationManager.swift
diff options
context:
space:
mode:
Diffstat (limited to 'ios/MullvadVPN/AutomaticKeyRotationManager.swift')
-rw-r--r--ios/MullvadVPN/AutomaticKeyRotationManager.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/MullvadVPN/AutomaticKeyRotationManager.swift b/ios/MullvadVPN/AutomaticKeyRotationManager.swift
index 9d6b8677a0..a58940d76f 100644
--- a/ios/MullvadVPN/AutomaticKeyRotationManager.swift
+++ b/ios/MullvadVPN/AutomaticKeyRotationManager.swift
@@ -228,7 +228,7 @@ class AutomaticKeyRotationManager {
nextRotationTime = .now() + .seconds(kRetryIntervalOnFailure)
}
- case .failure(.rest(.network(let urlError))) where urlError.code == .cancelled:
+ case .failure(.rest(.network(URLError.cancelled))):
os_log(.default, log: tunnelProviderLog, "Key rotation was cancelled")
break