Skip to content

fix(sentinel): Re-raise exceptions in timed_with_status after logging/handl (#1679)#1831

Closed
Memtensor-AI wants to merge 1 commit into
mainfrom
autodev/sentinel-1679
Closed

fix(sentinel): Re-raise exceptions in timed_with_status after logging/handl (#1679)#1831
Memtensor-AI wants to merge 1 commit into
mainfrom
autodev/sentinel-1679

Conversation

@Memtensor-AI
Copy link
Copy Markdown
Collaborator

Summary

Automated fix for #1679.

Analysis: Re-raise exceptions in timed_with_status after logging/handling so they propagate to callers for debugging.

Approach: In the timed_with_status method's exception handler, add a raise statement after any logging/status-setting logic so that exceptions are still propagated to the caller rather than being silently swallowed.

Changes

  • src/memos/utils.py

Closes #1679


Generated by memos-sentinel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: The timed_with_status method was swallowing exceptions, making debugging difficult

2 participants