Skip to content

Conversation

@heathdutton
Copy link
Contributor

Fixes #2097

The fetch_raw_email task raises a bare ValueError when no stored emails are found in Mailgun, providing no diagnostic context when the task fails after exhausting retries.

Adds a descriptive message including the message_id to help with debugging in Sentry.

@duckduckgrayduck duckduckgrayduck merged commit a759677 into MuckRock:master Jan 6, 2026
1 of 3 checks passed
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.

Unhandled value error in fetch_raw_email task

2 participants