mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-16 00:51:25 -07:00
chore: migrate console.error in workspaceContext (#12167)
Co-authored-by: Hriday Taneja <hridayt@google.com>
This commit is contained in:
@@ -54,7 +54,9 @@ export class WorkspaceContext {
|
||||
listener();
|
||||
} catch (e) {
|
||||
// Don't let one listener break others.
|
||||
console.error('Error in WorkspaceContext listener:', e);
|
||||
debugLogger.warn(
|
||||
`Error in WorkspaceContext listener: (${e instanceof Error ? e.message : String(e)})`,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user