generated from nhcarrigan/template
0b69de4a43
Added extensive logging to help diagnose permission modal issues:
Frontend:
- Capture unhandled errors via window.addEventListener('error')
- Capture unhandled promise rejections
- All errors now visible in debug console
Backend:
- Log when emitting permission events (count and conversation ID)
- Log each individual permission request being processed
- Log when system tools are skipped
- Log each denial being processed
This will help identify where the permission flow breaks in production builds.