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