Skip to content

Commit

Permalink
Ignore ActionController::UnknownFormat errors in Sentry config
Browse files Browse the repository at this point in the history
These can be caused by visiting /events/feed.badext, for example
  • Loading branch information
tjgrathwell committed Nov 28, 2015
1 parent 12229f8 commit eea2fe0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/initializers/sentry.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if defined?(Raven)
Raven.configure do |config|
config.excluded_exceptions = Raven::Configuration::IGNORE_DEFAULT + ['ActionController::UnknownFormat']
end
end

0 comments on commit eea2fe0

Please sign in to comment.