diff --git a/infrastructure/abri/abri_client.py b/infrastructure/abri/abri_client.py index 9731431e2..9d69efd86 100644 --- a/infrastructure/abri/abri_client.py +++ b/infrastructure/abri/abri_client.py @@ -43,7 +43,7 @@ class AbriClient: try: response = self._session.post(self._config.endpoint_url, data=body) response.raise_for_status() - except requests.HTTPError as error: + except requests.RequestException as error: raise AbriTransportError(str(error)) from error root = ET.fromstring(response.content) if root.tag == "response":