mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 23:35:38 +08:00
BUGFIX: rescue should splat
This commit is contained in:
parent
6b241a5ebf
commit
b7ece53966
@ -81,7 +81,7 @@ module Email
|
||||
|
||||
begin
|
||||
@message.deliver
|
||||
rescue SMTP_CLIENT_ERRORS => e
|
||||
rescue *SMTP_CLIENT_ERRORS => e
|
||||
return skip(e.message)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user