fix(macos): harden presence decode

This commit is contained in:
Peter Steinberger
2025-12-09 22:08:55 +00:00
parent d08ca9585a
commit 052d8ba879
3 changed files with 80 additions and 37 deletions

View File

@@ -157,7 +157,6 @@ final class ControlChannel: ObservableObject {
return "Gateway request timed out; check the gateway process on localhost:\(GatewayEnvironment.gatewayPort())."
}
let nsError = error as NSError
let detail = nsError.localizedDescription.isEmpty ? "unknown gateway error" : nsError.localizedDescription
return "Gateway error: \(detail)"
}