diff --git a/app/routes/api/browser.py b/app/routes/api/browser.py index 80cf1257..cafaa9b9 100644 --- a/app/routes/api/browser.py +++ b/app/routes/api/browser.py @@ -596,5 +596,5 @@ async def stream_zip_download(request: Request, config: Config, cache: Cache) -> LOG.info("Download cancelled by client.") except Exception as e: LOG.error(f"Streaming zip download error. {type(e).__name__}: {e}") - finally: - return response # noqa: B012 + + return response