diff --git a/elastic_transport/_node/_http_httpx.py b/elastic_transport/_node/_http_httpx.py index 8ca4263..ecbb0b0 100644 --- a/elastic_transport/_node/_http_httpx.py +++ b/elastic_transport/_node/_http_httpx.py @@ -146,7 +146,6 @@ async def perform_request( # type: ignore[override] headers=dict(resolved_headers), timeout=request_timeout, ) - resp.raise_for_status() response_body = resp.read() duration = time.perf_counter() - start except RERAISE_EXCEPTIONS + BUILTIN_EXCEPTIONS: