mem0 icon indicating copy to clipboard operation
mem0 copied to clipboard

error logging lines are unreachable and `e` is unbound

Open johnwlockwood opened this issue 10 months ago • 0 comments

🐛 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}")

johnwlockwood avatar May 29 '25 06:05 johnwlockwood