Skip to content

Commit

Permalink
#519: Ignore ActionController::RoutingError exceptions as we are on t…
Browse files Browse the repository at this point in the history
…rack to surpass our usage
  • Loading branch information
murny committed Dec 7, 2023
1 parent 69d0aee commit 091d754
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/initializers/rollbar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
# 'ignore' will cause the exception to not be reported at all.
# config.exception_level_filters.merge!('MyCriticalException' => 'critical')
#
config.exception_level_filters.merge!({
'ActionController::RoutingError' => 'ignore'
})

# You can also specify a callable, which will be called with the exception instance.
# config.exception_level_filters.merge!('MyCriticalException' => lambda { |e| 'critical' })

Expand Down

0 comments on commit 091d754

Please sign in to comment.