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

def self.included(base)

def self.included(base)
  base.class_eval do
    set_callback :subscribe, :around, ->(_, block) { sentry_capture(:subscribed, &block) }, prepend: true
    set_callback :unsubscribe, :around, ->(_, block) { sentry_capture(:unsubscribed, &block) }, prepend: true
  end
end