Flowdock
method

failsafe_rescue

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActionController::Dispatcher
failsafe_rescue(exception) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/dispatcher.rb, line 186
      def failsafe_rescue(exception)
        self.class.failsafe_response(@output, '500 Internal Server Error', exception) do
          if @controller ||= defined?(::ApplicationController) ? ::ApplicationController : Base
            @controller.process_with_exception(@request, @response, exception).out(@output)
          else
            raise exception
          end
        end
      end
Register or log in to add new notes.