summaryrefslogtreecommitdiffstats
path: root/app/models/mailer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/mailer.rb')
-rw-r--r--app/models/mailer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb
index c0a30d35a..8ab43e9b6 100644
--- a/app/models/mailer.rb
+++ b/app/models/mailer.rb
@@ -705,7 +705,7 @@ class Mailer < ActionMailer::Base
# Log errors when raise_delivery_errors is set to false, Rails does not
mail.raise_delivery_errors = true
super
- rescue Exception => e
+ rescue => e
if ActionMailer::Base.raise_delivery_errors
raise e
else