Fix unexpected connect error

This commit is contained in:
世界
2025-12-13 16:11:32 +08:00
parent 2da9397ef6
commit 14c0b34368
3 changed files with 39 additions and 13 deletions
@@ -82,7 +82,7 @@ public final class DashboardViewModel: BaseViewModel {
systemProxyAvailable = status.available
systemProxyEnabled = status.enabled
} catch {
alert = AlertState(error: error)
NSLog("reloadSystemProxy: \(error)")
}
}
@@ -117,9 +117,7 @@ public final class DashboardViewModel: BaseViewModel {
}
}
} catch {
await MainActor.run {
alert = AlertState(error: error)
}
NSLog("checkDeprecatedNotes: \(error)")
}
}