module Sentry::Rails::ActiveJobExtensions

def perform_now

def perform_now
  if !Sentry.initialized? || already_supported_by_sentry_integration?
    super
  else
    Sentry.with_scope do |scope|
      capture_and_reraise_with_sentry(scope) do
        super
      end
    end
  end
end