From 92a6de724d75da7045f5c5c8f059ebde1804e28e Mon Sep 17 00:00:00 2001 From: Emma Lejeck Date: Sat, 26 Oct 2024 21:24:54 -0700 Subject: [PATCH] Disable sidekiq-scheduler-sentry integration & old deprecation subscriber --- config/initializers/sentry-ruby.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/config/initializers/sentry-ruby.rb b/config/initializers/sentry-ruby.rb index ccfecb277..d5d06acb2 100644 --- a/config/initializers/sentry-ruby.rb +++ b/config/initializers/sentry-ruby.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true Sentry.init do |config| - config.enabled_patches += [:sidekiq_scheduler] config.release = Rails.root.join('.version').read.strip if Rails.root.join('.version').exist? config.traces_sample_rate = 1.0 config.profiles_sample_rate = 1.0 @@ -14,10 +13,3 @@ event if duration > 25.seconds end end - -ActiveSupport::Deprecation.behavior = %i[stderr notify] -ActiveSupport::Notifications.subscribe('deprecation.rails') do |_, _, _, _, payload| - Sentry.capture_message(payload[:message], - level: 'warning', - backtrace: payload[:callstack].map(&:to_s)) -end