Skip to content

Commit

Permalink
Don't treat ActiveRecord::RecordNotFound as an error in New Relic
Browse files Browse the repository at this point in the history
  • Loading branch information
tjgrathwell committed Sep 19, 2015
1 parent 0dffc17 commit 79c9013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/newrelic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ common: &default_settings
# To stop specific errors from reporting to New Relic, set this property
# to comma-separated values. Default is to ignore routing errors,
# which are how 404's get triggered.
ignore_errors: "ActionController::RoutingError,Sinatra::NotFound"
ignore_errors: "ActionController::RoutingError,ActiveRecord::RecordNotFound,Sinatra::NotFound"

# If you're interested in capturing memcache keys as though they
# were SQL uncomment this flag. Note that this does increase
Expand Down

0 comments on commit 79c9013

Please sign in to comment.