Method: FTPMVC::Application#handle_exception
- Defined in:
- lib/ftpmvc/application.rb
#handle_exception(e) ⇒ Object
25 26 27 28 |
# File 'lib/ftpmvc/application.rb', line 25 def handle_exception(e) logger.error %Q[#{e.class}: #{e.message}\n#{e.backtrace.join("\n")}] @exception_handler.call(e) unless @exception_handler.nil? end |