glitchier-soc/config/initializers/mail_delivery_job.rb
Claire 5892f7582d Fix mailer jobs for deleted notifications erroring out (#16294)
Fixes an oversight in the Rails 6 migration
2021-05-24 03:02:46 +02:00

3 lines
93 B
Ruby

ActionMailer::MailDeliveryJob.class_eval do
discard_on ActiveJob::DeserializationError
end