Permalink
Browse files

Merge pull request #10 from dclausen/master

respect app.delivery_method if set. fixes #9
  • Loading branch information...
2 parents 4d8af78 + f21c77e commit e0a24094bbf47e54489f21a2bc8259b522b54c9e @skade skade committed Jul 30, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/padrino-contrib/exception_notifier.rb
@@ -40,6 +40,7 @@ def self.registered(app)
to app.exceptions_to
from app.exceptions_from
body body
+ delivery_method app.delivery_method if app.respond_to?(:delivery_method)
end
response.status = 500
content_type 'text/html', :charset => "utf-8"

0 comments on commit e0a2409

Please sign in to comment.