Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add telemetry handlers for Oban job events #1029

Merged
merged 4 commits into from
Oct 31, 2024

Conversation

jzimbel-mbta
Copy link
Member

Summary of changes

Asana Ticket: No ticket, followup to GTFS import feature

Oban's default behavior for exceptions raised by workers is to capture the exception and store it in the DB record for the failed job, without also logging the exception to the console as expected.

We'd like to see that info in logs! This change makes that happen.

Reviewer Checklist

  • Meets ticket's acceptance criteria
  • Any new or changed functions have typespecs
  • Tests were added for any new functionality (don't just rely on Codecov)
  • This branch was deployed to the staging environment and is currently running with no unexpected increase in warnings, and no errors or crashes.

@jzimbel-mbta jzimbel-mbta requested review from a team and dks-mbta and removed request for a team October 31, 2024 14:57
Copy link

@dks-mbta dks-mbta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, pending the merge issue.

@jzimbel-mbta jzimbel-mbta merged commit 9cd8436 into master Oct 31, 2024
10 checks passed
@jzimbel-mbta jzimbel-mbta deleted the jz-log-oban-worker-exceptions branch October 31, 2024 16:10
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