module Airbrake::Rails::ActionControllerCatcher
Private Instance Methods
rescue_action_in_public_with_airbrake(exception)
click to toggle source
Overrides the rescue_action method in ActionController::Base, but does not inhibit any custom processing that is defined with Rails
2’s exception helpers.
# File lib/airbrake/rails/action_controller_catcher.rb, line 17 def rescue_action_in_public_with_airbrake(exception) unless airbrake_ignore_user_agent? error_id = Airbrake.notify_or_ignore(exception, airbrake_request_data) request.env['airbrake.error_id'] = error_id end rescue_action_in_public_without_airbrake(exception) end