about summary refs log tree commit diff
path: root/config/initializers/delivery_job.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/delivery_job.rb')
-rw-r--r--config/initializers/delivery_job.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/delivery_job.rb b/config/initializers/delivery_job.rb
new file mode 100644
index 000000000..cc2927272
--- /dev/null
+++ b/config/initializers/delivery_job.rb
@@ -0,0 +1,3 @@
+ActionMailer::DeliveryJob.class_eval do
+  discard_on ActiveJob::DeserializationError
+end