# File lib/action_controller/rescue.rb, line 24 def rescue_action(exception) log_error(exception) if logger erase_results if performed? if consider_all_requests_local || local_request? rescue_action_locally(exception) else rescue_action_in_public(exception) end end