module Sentry::Rails::ActionCableExtensions::Channel::Subscriptions

def sentry_capture(hook, &block)

def sentry_capture(hook, &block)
  extra_context = { params: params }
  ErrorHandler.capture(connection, transaction_name: "#{self.class.name}##{hook}", extra_context: extra_context, &block)
end