Files
litellm/litellm/proxy/pass_through_endpoints
6cb956fa7f fix: catch exceptions in pass-through streaming logging handler (#21636)
_route_streaming_logging_to_handler is called via asyncio.create_task()
after streaming chunks are already delivered to the client. Any
unhandled exception in this logging task propagates as an unhandled
asyncio task exception, polluting error logs.

Wraps the method body in try/except to log errors without propagating.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-02 19:21:10 +05:30
..
2026-01-23 12:54:30 -08:00