From c9cb7f9bd289f88bd99fbf9a25d957df655f91ce Mon Sep 17 00:00:00 2001 From: James Turk Date: Mon, 8 May 2023 01:11:07 -0500 Subject: [PATCH] fix HTTPerror catch all --- examples/foiaghost.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/foiaghost.py b/examples/foiaghost.py index 9c95792..1e4a496 100644 --- a/examples/foiaghost.py +++ b/examples/foiaghost.py @@ -35,9 +35,7 @@ recipe.add_transform( add_response, error_map={ ( - httpx.ConnectError, - httpx.ConnectTimeout, - httpx.ReadTimeout, + httpx.HTTPError, SSLCertVerificationError, SSLError, ): "bad_requests"