diff options
Diffstat (limited to 'lib/tasks/email.rake')
-rw-r--r-- | lib/tasks/email.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/email.rake b/lib/tasks/email.rake index 25d7d667b..0b0b2b752 100644 --- a/lib/tasks/email.rake +++ b/lib/tasks/email.rake @@ -164,7 +164,7 @@ END_DESC begin Mailer.deliver_test_email(user) puts l(:notice_email_sent, user.mail) - rescue Exception => e + rescue => e abort l(:notice_email_error, e.message) end end |