class ActionDispatch::ShowExceptions
Private Instance Methods
Source
# File lib/patch/show_exceptions.rb, line 5 def render_exception_with_template(env, exception) env = env.env if env.is_a?(ActionDispatch::Request) # Rails 5 passes in the whole request object if(RailsExceptionHandler.configuration.activate?) RailsExceptionHandler::Handler.new(env, exception).handle_exception else raise exception end end
Also aliased as: render_exception