fix error of wrong exception (#2911)

This commit is contained in:
Prateek Chhikara
2025-06-04 17:56:52 -06:00
committed by GitHub
parent be37fca1bb
commit ecc596b11f
2 changed files with 2 additions and 2 deletions

View File

@@ -795,7 +795,7 @@ class AsyncMemoryClient:
return data.get("user_email")
except requests.HTTPStatusError as e:
except requests.exceptions.HTTPError as e:
try:
error_data = e.response.json()
error_message = error_data.get("detail", str(e))