class ActionCable::Channel::Base
@since v8.3.0 @api private @see github.com/rails/rails/blob/master/actioncable/lib/action_cable/channel/base.rb
Public Instance Methods
perform_action(*args, &block)
click to toggle source
# File lib/airbrake/rails/action_cable.rb, line 19 def perform_action(*args, &block) perform_action_without_airbrake(*args, &block) rescue Exception => ex # rubocop:disable Lint/RescueException Airbrake.notify(ex) do |notice| notice.stash[:action_cable_connection] = connection notice[:context][:component] = self.class notice[:context][:action] = args.first['action'] notice[:params].merge!(args.first) end raise ex end
Also aliased as: perform_action_without_airbrake