class Airbrake::Rails::ActionCable::NotifyCallback

@api private
@since v8.3.0

def self.call(channel, block)

def self.call(channel, block)
  block.call
rescue Exception => ex # rubocop:disable Lint/RescueException
  notice = Airbrake.build_notice(ex)
  notice[:context][:component] = 'action_cable'
  notice[:context][:action] = channel.channel_name
  Airbrake.notify(notice)
  raise ex
end