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

fix: Log email and s3 submission failures to airbrake #4210

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

DafyddLlyr
Copy link
Contributor

@DafyddLlyr DafyddLlyr commented Jan 25, 2025

What's the problem?

Recent email and s3 submissions errors did not log to Airbrake, and were only caught via failed Hasura events.

Please see https://opensystemslab.slack.com/archives/C01E3AC0C03/p1737837277353679 (OSL Slack) for further context.

What's the solution?

By instantiating a ServerError (or a plain Error), we can catch this in our ErrorRequestHandler middleware (here) and log to Airbrake. This gives us better visibility on any failures.

@DafyddLlyr DafyddLlyr requested a review from a team January 25, 2025 22:37
Copy link

github-actions bot commented Jan 25, 2025

Removed vultr server and associated DNS entries

@DafyddLlyr DafyddLlyr changed the title fix: Log email and s3 failures to airbrake fix: Log email and s3 submission failures to airbrake Jan 25, 2025
@DafyddLlyr DafyddLlyr merged commit 18287b8 into main Jan 27, 2025
13 checks passed
@DafyddLlyr DafyddLlyr deleted the dp/server-error-syntax branch January 27, 2025 07:11
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