diff --git a/src/app/services/fl_downloader.py b/src/app/services/fl_downloader.py index 6a1dcf4..e26ed79 100644 --- a/src/app/services/fl_downloader.py +++ b/src/app/services/fl_downloader.py @@ -75,7 +75,7 @@ class FLDownloader(BaseDownloader): ) try: response = await client.send(request, stream=True) - except (asyncio.CancelledError, httpx.ReadError, httpx.ConnectError) as e: + except (asyncio.CancelledError, httpx.HTTPError) as e: await client.aclose() raise NotSuccess(str(e))