diff --git a/src/memos/memos_tools/thread_safe_dict_segment.py b/src/memos/memos_tools/thread_safe_dict_segment.py index c1c10e3e1..bf918889f 100644 --- a/src/memos/memos_tools/thread_safe_dict_segment.py +++ b/src/memos/memos_tools/thread_safe_dict_segment.py @@ -71,7 +71,7 @@ def acquire_write(self) -> bool: self._waiting_writers -= 1 self._last_write_time = time.time() return True - except: + except Exception: self._waiting_writers -= 1 raise