gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Hooks - Error Handling and UI Bubbling

Open Edilmo opened this issue 3 weeks ago • 0 comments

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

Edilmo avatar Dec 08 '25 16:12 Edilmo