1 2 3 4 5 6 7 8 9 10 11 12 13
module ActionController #:nodoc: module Rescue extend ActiveSupport::Concern include ActiveSupport::Rescuable private def process_action(*args) super rescue Exception => exception rescue_with_handler(exception) || raise(exception) end end end