🐛 fix(service.py): add error handling for HTTP response in StoreService to improve reliability and prevent silent failures
This commit is contained in:
parent
4310229c2f
commit
4e0273a9df
1 changed files with 1 additions and 0 deletions
|
|
@ -335,6 +335,7 @@ class StoreService(Service):
|
|||
headers=headers,
|
||||
)
|
||||
|
||||
response.raise_for_status()
|
||||
if response.status_code == 200:
|
||||
result = response.json()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue