Commit c20c374dc66e4d8a7183dce373b6699f3ee6fad1
1 parent
68974531
Exists in
staging
and in
7 other branches
Do not fail when email isn't received
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/task.rb
@@ -72,7 +72,7 @@ class Task < ActiveRecord::Base | @@ -72,7 +72,7 @@ class Task < ActiveRecord::Base | ||
72 | if target_msg && task.target && !task.target.notification_emails.empty? | 72 | if target_msg && task.target && !task.target.notification_emails.empty? |
73 | TaskMailer.target_notification(task, target_msg).deliver | 73 | TaskMailer.target_notification(task, target_msg).deliver |
74 | end | 74 | end |
75 | - rescue NotImplementedError => ex | 75 | + rescue Exception => ex |
76 | Rails.logger.info ex.to_s | 76 | Rails.logger.info ex.to_s |
77 | end | 77 | end |
78 | end | 78 | end |