# Keep streaming responses clean when client connections are cancelled

> We fixed an issue where cancellation of a client connection during streaming could surface as an unhandled error rather than being handled quietly.

- Published: 2026-04-14
- Author: Agno Team
- Category: Changelog
- Canonical: https://agno-com-nine.vercel.app/articles/keep-streaming-responses-clean-when-client-connections-are-cancelled
- Markdown: https://agno-com-nine.vercel.app/articles/keep-streaming-responses-clean-when-client-connections-are-cancelled.md

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.
