More proxy client tweaks

main
Thomas Sileo 2022-12-02 19:40:58 +01:00
parent 73dceee0f5
commit 7d3fc35a24
1 changed files with 0 additions and 1 deletions

View File

@ -1318,7 +1318,6 @@ async def serve_proxy_media_resized(
logger.info(f"failed to proxy {url}, got {proxy_resp.status_code}") logger.info(f"failed to proxy {url}, got {proxy_resp.status_code}")
await proxy_resp.aclose() await proxy_resp.aclose()
return PlainTextResponse( return PlainTextResponse(
"proxy error",
status_code=proxy_resp.status_code, status_code=proxy_resp.status_code,
) )