mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-03 16:34:31 -07:00
migrate console.error to coreEvents for mcp-client-manager and google-auth-provider (#12342)
This commit is contained in:
@@ -220,8 +220,10 @@ export class McpClientManager {
|
||||
try {
|
||||
await client.disconnect();
|
||||
} catch (error) {
|
||||
console.error(
|
||||
`Error stopping client '${name}': ${getErrorMessage(error)}`,
|
||||
coreEvents.emitFeedback(
|
||||
'error',
|
||||
`Error stopping client '${name}':`,
|
||||
error,
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user