module Airbrake::Rails::ActionController
def build_notice(exception, params = {})
-
(Airbrake::Notice)
- the notice with information from the Rack env
Parameters:
-
exception
(Exception
) --
def build_notice(exception, params = {}) return unless (notice = Airbrake.build_notice(exception, params)) notice.stash[:rack_request] = request notice end
def notify_airbrake(exception, params = {}, &block)
- See: Airbrake#notify, - #notify_airbrake_sync
def notify_airbrake(exception, params = {}, &block) return unless (notice = build_notice(exception, params)) Airbrake.notify(notice, params, &block) end
def notify_airbrake_sync(exception, params = {}, &block)
- See: Airbrake#notify_sync, - #notify_airbrake
def notify_airbrake_sync(exception, params = {}, &block) return unless (notice = build_notice(exception, params)) Airbrake.notify_sync(notice, params, &block) end