mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 05:53:52 +08:00
BUGFIX: rescue should splat
This commit is contained in:
@ -81,7 +81,7 @@ module Email
|
||||
|
||||
begin
|
||||
@message.deliver
|
||||
rescue SMTP_CLIENT_ERRORS => e
|
||||
rescue *SMTP_CLIENT_ERRORS => e
|
||||
return skip(e.message)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user