diff --git a/config/initializers/airbrake.rb b/config/initializers/airbrake.rb index 0e24737..889c82d 100644 --- a/config/initializers/airbrake.rb +++ b/config/initializers/airbrake.rb @@ -3,4 +3,9 @@ config.host = ENV["AIRBRAKE_HOST"] config.port = 443 config.secure = config.port == 443 + + config.ignore_by_filter do |exception_data| + exception_data["error_class"] == "AASM::InvalidTransition" && + exception_data["class"] == "DeliveryReceiptUpdateStatusJob" + end end