module Airbrake::ActionCable::Channel::Base
def perform_action(*args, &block)
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