diff --git a/client/client.py b/client/client.py index f4763e6..49decad 100644 --- a/client/client.py +++ b/client/client.py @@ -143,6 +143,7 @@ async def query_with_retries(url): headers=headers, json=json_data, # Directly send the JSON data ) as response: + response.raise_for_status() # Get the response body asynchronously and parse it as JSON res = await response.json()