Glitch-Shrike/config/initializers/mail_delivery_job.rb

6 lines
124 B
Ruby

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