Skip to content

Commit

Permalink
Add two Exceptions to Rollbar ignore (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
pglombardo authored Oct 25, 2022
1 parent 037c426 commit 61df385
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/initializers/rollbar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#
# You can also specify a callable, which will be called with the exception instance.
# config.exception_level_filters.merge!('MyCriticalException' => lambda { |e| 'critical' })
config.exception_level_filters.merge!('ActiveRecord::RecordNotFound' => 'ignore')
config.exception_level_filters.merge!('ActionController::RoutingError' => 'ignore')

# Enable asynchronous reporting (uses girl_friday or Threading if girl_friday
# is not installed)
Expand Down

0 comments on commit 61df385

Please sign in to comment.