GC "add tool registry tests"

- Ok
This commit is contained in:
Taylor Mullen
2025-05-16 16:39:28 -07:00
committed by N. Taylor Mullen
parent 1bdec55fe1
commit 7f7f2cd47e
3 changed files with 674 additions and 4 deletions
+2 -1
View File
@@ -209,7 +209,8 @@ export class ToolRegistry {
`failed to start or connect to MCP server '${mcpServerName}' ` +
`${JSON.stringify(mcpServer)}; \n${error}`,
);
throw error;
// Do not re-throw, let other MCP servers be discovered.
return; // Exit this async IIFE if connection failed
}
mcpClient.onerror = (error) => {
console.error('MCP ERROR', error.toString());