mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
chore(apple): Remove useless IPC error log (#9201)
This error case happens during normal operation, particularly when exiting the application and can be dropped.
This commit is contained in:
@@ -13,15 +13,12 @@ import NetworkExtension
|
||||
|
||||
class IPCClient {
|
||||
enum Error: Swift.Error {
|
||||
case invalidNotification
|
||||
case decodeIPCDataFailed
|
||||
case noIPCData
|
||||
case invalidStatus(NEVPNStatus)
|
||||
|
||||
var localizedDescription: String {
|
||||
switch self {
|
||||
case .invalidNotification:
|
||||
return "NEVPNStatusDidChange notification doesn't seem to be valid."
|
||||
case .decodeIPCDataFailed:
|
||||
return "Decoding IPC data failed."
|
||||
case .noIPCData:
|
||||
@@ -263,7 +260,6 @@ class IPCClient {
|
||||
for await notification in NotificationCenter.default.notifications(named: .NEVPNStatusDidChange) {
|
||||
guard let session = notification.object as? NETunnelProviderSession
|
||||
else {
|
||||
Log.error(Error.invalidNotification)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user