{"issue":{"title":"Undefined method message in background exception notification","created_at":"2011-12-15T22:20:09Z","user":{"login":"allspiritseve","id":161156,"url":"https://api.github.com/users/allspiritseve","gravatar_id":"0d292b1cb6d82f0208573cd428e1e94d","avatar_url":"https://secure.gravatar.com/avatar/0d292b1cb6d82f0208573cd428e1e94d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"milestone":null,"labels":[],"state":"open","updated_at":"2011-12-15T22:20:09Z","id":2573417,"html_url":"https://github.com/smartinez87/exception_notification/issues/45","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":null,"number":45,"body":"I'm getting an error when trying to send a background exception notification for delayed job. It appears the email view does not have a valid exception object, but I used a debugger and the exception passed was valid (and responded to message). Any idea what could be causing this?\r\n\r\n```\r\nRendered /Users/cory/.rvm/gems/ruby-1.9.2-p290/gems/exception_notification-2.5.2/lib/exception_notifier/views/exception_notifier/background_exception_notification.text.erb (0.9ms)\r\nExceptionNotifier failed: ActionView::Template::Error: undefined method `message' for nil:NilClass\r\n  /Users/cory/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/whiny_nil.rb:48:in `method_missing'\r\n  /Users/cory/.rvm/gems/ruby-1.9.2-p290/gems/exception_notification-2.5.2/lib/exception_notifier/views/exception_notifier/background_exception_notification.text.erb:3:in `___sers_cory__rvm_gems_ruby_______p____gems_exception_notification_______lib_exception_notifier_views_exception_notifier_background_exception_notification_text_erb___697306309495317308_70181760388820'\r\n```","url":"https://api.github.com/repos/smartinez87/exception_notification/issues/45","comments":0,"assignee":null},"action":"opened"}