catstodon/config/initializers/delivery_job.rb

4 lines
89 B
Ruby
Raw Normal View History

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