Skip to content

Commit

Permalink
Ignore browser generated invalid mime types
Browse files Browse the repository at this point in the history
Rails 6.0 started raising an error when parsing invalid mime types but
this was a generic error so couldn't be globally ignored. In #40353 this
was changed to a more specific error that refers only to browsers sending
invalid `Accept` headers in the request so add that to the ignored list.
  • Loading branch information
pixeltrix committed Apr 24, 2021
1 parent 777068b commit d49d8ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/appsignal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ default: &defaults
# Exceptions that should not be recorded by AppSignal
ignore_errors:
- ActionDispatch::ParamsParser::ParseError
- ActionDispatch::Http::MimeNegotiation::InvalidType
- ActionController::BadRequest
- ActionController::InvalidAuthenticityToken
- ActionController::RoutingError
Expand Down

0 comments on commit d49d8ed

Please sign in to comment.