module Airbrake::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
Calls superclass method
# File lib/airbrake/rails/action_cable.rb, line 20 def perform_action(*args, &block) super(*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