Skip to content

Commit

Permalink
Update VPN log call (#3019)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/1207603085593419/1207893160580862/f
Tech Design URL:
CC:

Description:

This PR updates an os_log call in the VPN.
  • Loading branch information
samsymons authored Jul 25, 2024
1 parent b6c2864 commit ba07a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DuckDuckGoVPN/DuckDuckGoVPNAppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ final class DuckDuckGoVPNApplication: NSApplication {

#if DEBUG
if let token = accountManager.accessToken {

Check warning on line 79 in DuckDuckGoVPN/DuckDuckGoVPNAppDelegate.swift

View workflow job for this annotation

GitHub Actions / Test (Non-Sandbox)

value 'token' was defined but never used; consider replacing with boolean test

Check warning on line 79 in DuckDuckGoVPN/DuckDuckGoVPNAppDelegate.swift

View workflow job for this annotation

GitHub Actions / Test (Sandbox)

value 'token' was defined but never used; consider replacing with boolean test

Check warning on line 79 in DuckDuckGoVPN/DuckDuckGoVPNAppDelegate.swift

View workflow job for this annotation

GitHub Actions / Test (Sandbox)

value 'token' was defined but never used; consider replacing with boolean test
os_log(.error, log: .networkProtection, "🟢 VPN Agent found token: %{public}d", token)
os_log(.error, log: .networkProtection, "🟢 VPN Agent found token")
} else {
os_log(.error, log: .networkProtection, "🔴 VPN Agent found no token")
}
Expand Down

0 comments on commit ba07a39

Please sign in to comment.