[kimi] fix: add logging to silent except Exception handlers (#646) #692

Merged
kimi merged 1 commits from kimi/issue-646 into main 2026-03-21 03:50:27 +00:00

1 Commits

Author SHA1 Message Date
kimi
c97ac19b7b fix: add logging to silent except Exception handlers across codebase
Some checks failed
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
Add logger.exception() calls to 20 silent except Exception handlers
that were swallowing errors without any logging, making production
debugging extremely difficult.

Files fixed:
- timmy/loop_qa.py (6 handlers in probe functions + orchestrator)
- timmy/backends.py (2 handlers in health_check methods)
- timmy/tools_delegation/__init__.py (1 handler in _run_kimi)
- timmy/tools_intro/__init__.py (4 handlers in introspection tools)
- dashboard/middleware/request_logging.py (1 handler upgraded debug→warning)
- dashboard/routes/health.py (1 handler in _check_sqlite)
- dashboard/routes/grok.py (2 handlers in query and stats)
- dashboard/routes/voice.py (1 handler in tts_speak)
- dashboard/routes/db_explorer.py (2 handlers in _query_database)

No control flow changes — only added logging before existing returns.

Fixes #646

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 23:48:33 -04:00