fix: match expected error message text in mcp_client and mcp_registry

This commit is contained in:
vakrahul
2026-03-26 15:39:17 +05:30
parent 82af76e72a
commit 13c072d731
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -575,7 +575,7 @@ class MCPClient:
except Exception as e:
raise RuntimeError(
f"[Server: {self.config.name}] [Transport: {self.config.transport}] "
f"Tool '{tool_name}' failed: {e}"
f"Failed to call tool via HTTP: Tool '{tool_name}' failed: {e}"
) from e
def _reconnect(self) -> None:
+1 -1
View File
@@ -254,7 +254,7 @@ class MCPRegistry:
if manifest is None:
raise MCPInstallError(
server=name,
why="Server not found in the cached registry index.",
why=f"Server '{name}' not found in registry index.",
fix="Run: hive mcp update — then try again.",
)