mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-26 13:04:49 -07:00
GC "add tool registry tests"
- Ok
This commit is contained in:
committed by
N. Taylor Mullen
parent
1bdec55fe1
commit
7f7f2cd47e
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user