mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
BUGFIX: rescue should splat
This commit is contained in:
parent
6b241a5ebf
commit
b7ece53966
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue