Path: | lib/padrino-contrib/exception_notifier.rb |
Last Update: | Sat Feb 23 07:12:07 +0000 2019 |
This is an exception notifier for Padrino::Application with redmine bonus feature.
class MyApp < Padrino::Application register Padrino::Contrib::ExceptionNotifier set :exceptions_from, "errors@localhost.local" set :exceptions_to, "foo@bar.local" set :exceptions_page, :errors # => views/errors.haml/erb set :redmine, :project => "My Bugs", :tracker => "Bugs", :priority => "High" # Uncomment this for test in development # disable :raise_errors # disable :show_exceptions end