From b3ea6a4f8b1beeb1ee399faa41439614fc2a3d6f Mon Sep 17 00:00:00 2001 From: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com> Date: Sat, 19 Jul 2025 21:10:16 +0800 Subject: [PATCH] Update client.py --- client/client.py | 1 + 1 file changed, 1 insertion(+) 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()