Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #41 from gumroad/master

raise the previous exception instead of instantiating it again
  • Loading branch information...
commit 6326b0117b2115de19de19240c320817ba6142cb 2 parents c615313 + 8b0472a
@zapnap authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/resque_mailer.rb
View
4 lib/resque_mailer.rb
@@ -45,8 +45,8 @@ def perform(action, *args)
logger.error "Unable to deliver email [#{action}]: #{ex}"
logger.error ex.backtrace.join("\n\t")
end
-
- raise ex.class, "Unable to deliver email: [#{ex.message}]", ex.backtrace
+
+ raise ex
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.