Skip to content

error logging lines are unreachable and e is unbound #2867

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
johnwlockwood opened this issue May 29, 2025 · 0 comments · May be fixed by #2774 or #2869
Open

error logging lines are unreachable and e is unbound #2867

johnwlockwood opened this issue May 29, 2025 · 0 comments · May be fixed by #2774 or #2869

Comments

@johnwlockwood
Copy link
Contributor

johnwlockwood commented May 29, 2025

🐛 Describe the bug

In mem0/memory/main.py error logging lines are unreachable and e is unbound for
AsyncMemory._add_to_vector_store

logging.error(f"Error in new_retrieved_facts: {e}")

and

logging.error(f"Invalid JSON response: {e}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant