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

Add Puma::HttpParserError to excluded exceptions #292

Merged
merged 2 commits into from
May 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Unreleased

* Suppress noisy Puma::HttpParserError errors

# 7.1.0

* `GovukError` now allows specifying any name for the Sentry environment tag via the `SENTRY_CURRENT_ENV` environment variable. The environment name no longer has to match one of a fixed set of strings in order for `GovukError` to log events to Sentry.
Expand Down
1 change: 1 addition & 0 deletions lib/govuk_app_config/govuk_error/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def set_up_defaults
"GdsApi::HTTPIntermittentServerError",
"GdsApi::TimedOutException",
"Mongoid::Errors::DocumentNotFound",
"Puma::HttpParserError",
"Sinatra::NotFound",
"Slimmer::IntermittentRetrievalError",
"Sidekiq::JobRetry::Skip",
Expand Down