Skip to content

Commit ecc596b

Browse files
fix error of wrong exception (#2911)
1 parent be37fca commit ecc596b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mem0/client/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ def _validate_api_key(self):
795795

796796
return data.get("user_email")
797797

798-
except requests.HTTPStatusError as e:
798+
except requests.exceptions.HTTPError as e:
799799
try:
800800
error_data = e.response.json()
801801
error_message = error_data.get("detail", str(e))

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "mem0ai"
7-
version = "0.1.105"
7+
version = "0.1.106"
88
description = "Long-term memory for AI Agents"
99
authors = [
1010
{ name = "Mem0", email = "[email protected]" }

0 commit comments

Comments
 (0)