From b7ece53966f6674b7cbf1776c8915ad978166c06 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 9 Mar 2014 23:06:54 +1100 Subject: [PATCH] BUGFIX: rescue should splat --- lib/email/sender.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/email/sender.rb b/lib/email/sender.rb index c972439eb52..f238e82344c 100644 --- a/lib/email/sender.rb +++ b/lib/email/sender.rb @@ -81,7 +81,7 @@ module Email begin @message.deliver - rescue SMTP_CLIENT_ERRORS => e + rescue *SMTP_CLIENT_ERRORS => e return skip(e.message) end