diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-22 02:21:07 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-22 02:21:07 +0100 |
commit | f2000aa1dae2c6b4ca22ad6c52cd42c53d5f5cbd (patch) | |
tree | 0a2d46d240782ba41d86aa11901690f21b5077c7 /WireGuard/WireGuard | |
parent | Bump go bridge (diff) | |
download | wireguard-apple-f2000aa1dae2c6b4ca22ad6c52cd42c53d5f5cbd.tar.xz wireguard-apple-f2000aa1dae2c6b4ca22ad6c52cd42c53d5f5cbd.zip |
Combine double log invocations
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard/WireGuard')
-rw-r--r-- | WireGuard/WireGuard/Tunnel/TunnelsManager.swift | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/WireGuard/WireGuard/Tunnel/TunnelsManager.swift b/WireGuard/WireGuard/Tunnel/TunnelsManager.swift index bf5ab52..4913fd2 100644 --- a/WireGuard/WireGuard/Tunnel/TunnelsManager.swift +++ b/WireGuard/WireGuard/Tunnel/TunnelsManager.swift @@ -395,8 +395,7 @@ class TunnelContainer: NSObject { activationDelegate?.tunnelActivationAttemptFailed(tunnel: self, error: .failedWhileSaving(systemError: error!)) return } - wg_log(.debug, staticMessage: "startActivation: Tunnel saved after re-enabling") - wg_log(.debug, staticMessage: "startActivation: Invoking startActivation") + wg_log(.debug, staticMessage: "startActivation: Tunnel saved after re-enabling, invoking startActivation") self.startActivation(recursionCount: recursionCount + 1, lastError: NEVPNError(NEVPNError.configurationUnknown), activationDelegate: activationDelegate) } return @@ -434,8 +433,7 @@ class TunnelContainer: NSObject { activationDelegate?.tunnelActivationAttemptFailed(tunnel: self, error: .failedWhileLoading(systemError: systemError)) return } - wg_log(.debug, staticMessage: "startActivation: Tunnel reloaded") - wg_log(.debug, staticMessage: "startActivation: Invoking startActivation") + wg_log(.debug, staticMessage: "startActivation: Tunnel reloaded, invoking startActivation") self.startActivation(recursionCount: recursionCount + 1, lastError: systemError, activationDelegate: activationDelegate) } } |