You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
url_hash = {url: "#{ENV["REDIS_TLS_URL"]}/0", ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE }, timeout: 3}
Sidekiq.configure_server do |config|
config.redis = url_hash
end
Sidekiq.configure_client do |config|
config.redis = url_hash
end
my exception notifier gem config
require 'exception_notification/rails'
require 'exception_notification/sidekiq'
ExceptionNotification.configure do |config|
config.ignored_exceptions += %w{Net::SMTPSyntaxError}
config.ignore_if do |exception, options|
not Rails.env.production?
end
config.ignore_crawlers %w{Googlebot bingbot}
config.error_grouping = true
config.add_notifier :email, {
email_prefix: "[Sidekiq Exception] ",
sender_address: %{"no-reply" <[email protected]>},
exception_recipients: %w{[email protected]},
}
end
My app is on heroku but when sidekiq exception is happening, I got this DEPRECATION message.
DEPRECATION: Sidekiq exception handlers now take three arguments, see #<Proc:0x00007efde8a1f7b0 /app/vendor/bundle/ruby/3.3.0/gems/exception_notification-4.5.0/lib/exception_notification/sidekiq.rb:25
Ruby version: 3.3.0
Rails version: 6.1.7.7
sidekiq (7.2.4)
exception_notification (4.5.0)
my sidekiq config
my exception notifier gem config
My app is on heroku but when sidekiq exception is happening, I got this DEPRECATION message.
I searched and I guess that is from this line in Sidekiq
https://github.com/sidekiq/sidekiq/blob/636b4fd36786f27969b1551737e8540eb78c1c4d/lib/sidekiq/config.rb#L278
I would greatly appreciate any information anyone can provide about this issue.
The text was updated successfully, but these errors were encountered: