mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -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();
|
listener();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// Don't let one listener break others.
|
// 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