Skip to content
Changelog

Keep streaming responses clean when client connections are cancelled

ContributorYash Pratap SolankyStaff Software Engineer

April 14, 20261 min read

We fixed an issue where cancellation of a client connection during streaming could surface as an unhandled error rather than being handled quietly. CancelledError is now caught explicitly in all router streaming generators, so cancelled connections close gracefully without producing noise in logs or error handlers.

Shipped around the same time