gemini-cli
gemini-cli copied to clipboard
Hooks - Error Handling and UI Bubbling
Hook execution errors are currently logged but not consistently bubbled to the UI using the event emitter system. The error handling should be refactored to use the standardized events emitter for consistent UI feedback.
Code Location:
- packages/core/src/hooks/hookRunner.ts:177-336 -
executeCommandHook()method - packages/core/src/hooks/hookRunner.ts:94-119 - Error handling in
executeHook()
Related PR Discussion: PR #9092 - Comment