migrate console.error to coreEvents for mcp-client-manager and google-auth-provider (#12342)

This commit is contained in:
Sehoon Shon
2025-10-31 14:52:56 -04:00
committed by GitHub
parent ab013fb7e9
commit e9c7a80b12
2 changed files with 9 additions and 3 deletions
@@ -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,
);
}
},