# File lib/airbrake/rails/middleware/exceptions_catcher.rb, line 16 def render_exception_with_airbrake(env,exception) begin controller = env['action_controller.instance'] env['airbrake.error_id'] = Airbrake. notify_or_ignore(exception, controller.try(:airbrake_request_data) || {:rack_env => env}) unless skip_user_agent?(env) if defined?(controller.rescue_action_in_public_without_airbrake) controller.rescue_action_in_public_without_airbrake(exception) end rescue # do nothing end render_exception_without_airbrake(env,exception) end
Generated with the Darkfish Rdoc Generator 2.