mcp: fix status() to not overwrite connected with failed (#3514)

This commit is contained in:
kcrommett
2025-10-28 14:16:03 -07:00
committed by GitHub
parent 5bdb9e885e
commit 7caa64ea82
+1
View File
@@ -188,6 +188,7 @@ export namespace MCP {
} }
if (state.clients[key]) { if (state.clients[key]) {
result[key] = "connected" result[key] = "connected"
continue
} }
result[key] = "failed" result[key] = "failed"
} }