Skip to content

fix: Emit failed metric for background dumpslack errors#170

Open
spalmurray wants to merge 1 commit intomainfrom
spalmurray/dumpslack-error-metric
Open

fix: Emit failed metric for background dumpslack errors#170
spalmurray wants to merge 1 commit intomainfrom
spalmurray/dumpslack-error-metric

Conversation

@spalmurray
Copy link
Copy Markdown
Contributor

The dumpslack command runs in a background thread, so exceptions never reached the try/except in handle_command that emits the commands.failed metric. This adds error handling in the thread that logs, emits the failed metric, and captures to Sentry.

@spalmurray spalmurray marked this pull request as ready for review May 6, 2026 19:39
@spalmurray spalmurray requested a review from a team as a code owner May 6, 2026 19:39
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.

2 participants