zapnap/resque_mailer — pull request #36 by swieton (2012-08-07 14:24:23+00:00)
Title: Add logging to failed deliveries

I've quickly wrapped up the Resque::Mailer.perform method with a begin/rescue block that will catch exceptions and output them to the Rails log. The exceptions are reraised so they also will show up in the Resque failed job queue.