Sha256: ec248fe2d40b051d1416b1ac64b7f9fbcd788e1e0c9f6976d5c470a18a416591
Contents?: true
Size: 430 Bytes
Versions: 6
Compression:
Stored size: 430 Bytes
Contents
module Airbrake class << self private def build_notice_for_with_current_user(exception, opts = {}) if opts[:rack_env] && controller = opts[:rack_env]['action_controller.instance'] opts[:user_attributes] = Airbrake::CurrentUser.filtered_attributes(controller) end build_notice_for_without_current_user(exception, opts) end alias_method_chain :build_notice_for, :current_user end end
Version data entries
6 entries across 6 versions & 2 rubygems