1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2025-01-04 14:19:36 +00:00
mastodon/config/initializers/mail_delivery_job.rb
Claire b715cede4d
Fix mailer jobs for deleted notifications erroring out ()
Fixes an oversight in the Rails 6 migration
2021-05-24 03:02:46 +02:00

4 lines
93 B
Ruby

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