fix(mac): clarify attach-only gateway errors

This commit is contained in:
Peter Steinberger
2025-12-13 18:09:12 +00:00
parent 0c8b5ed59a
commit 94ad808028
2 changed files with 7 additions and 1 deletions

View File

@@ -115,7 +115,7 @@ final class GatewayProcessManager: ObservableObject {
// Respect debug toggle: only attach, never spawn, when enabled.
if AppStateStore.attachExistingGatewayOnly {
await MainActor.run {
self.status = .stopped
self.status = .failed("Attach-only enabled; no gateway to attach")
self.appendLog("[gateway] attach-only enabled; not spawning local gateway\n")
}
return