catstodon/config/initializers/mail_delivery_job.rb

6 lines
124 B
Ruby
Raw Normal View History

# frozen_string_literal: true
ActionMailer::MailDeliveryJob.class_eval do
discard_on ActiveJob::DeserializationError
end