Ignore RecordNotFound errors
This commit is contained in:
parent
1922094f11
commit
5b7b680b01
|
@ -34,6 +34,9 @@ Rollbar.configure do |config|
|
||||||
#
|
#
|
||||||
# You can also specify a callable, which will be called with the exception instance.
|
# 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!('MyCriticalException' => lambda { |e| 'critical' })
|
||||||
|
config.exception_level_filters.merge!(
|
||||||
|
'ActiveRecord::RecordNotFound' => 'ignore'
|
||||||
|
)
|
||||||
|
|
||||||
# Enable asynchronous reporting (uses girl_friday or Threading if girl_friday
|
# Enable asynchronous reporting (uses girl_friday or Threading if girl_friday
|
||||||
# is not installed)
|
# is not installed)
|
||||||
|
|
Loading…
Reference in New Issue