You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Surface voice/photo processing errors instead of failing silently
The voice transcription and vision (photo) blocks in handleMessage
sat outside any try/catch. A thrown error (bad model id, Groq API
error, etc.) propagated past the code that replies to the user and
was only caught by the outer webhook handler, which returns JSON to
Supabase's gateway - never to Telegram. Users saw total silence with
no way to tell what went wrong. Now both paths catch their own
errors, reply to the user, and log the real cause.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments