Closed fukayatsu closed 11 months ago
Hi @fukayatsu Thanks for reaching out and creating a PR for this deprecation warning. We will review this when priority allows
Confirming that this does resolve the deprecation warnings for Sidekiq 7.2+. We'd love to get this into a release so we can stop spamming our logs with deprecation warnings.
Goal
Fix deprecation warning:
DEPRECATION: Sidekiq exception handlers now take three arguments...
NOTE: This warning is shown when using sidekiq main branch.
This warning is related to
Design
https://github.com/sidekiq/sidekiq/pull/6051#issuecomment-1733920934.
Changeset
I added a third optional argument to sidekiq's error handler.
Testing
docker run --rm -it -p 16379:6379 redis:7
test.rb
and runruby test.rb