lib/sidekiq/throttled/strategy/base.rb in sidekiq-throttled-1.1.0 vs lib/sidekiq/throttled/strategy/base.rb in sidekiq-throttled-1.2.0

- old
+ new

@@ -13,10 +13,10 @@ def key(job_args) key = @base_key.dup return key unless @key_suffix key << ":#{@key_suffix.call(*job_args)}" - rescue => e + rescue StandardError => e Sidekiq.logger.error "Failed to get key suffix: #{e}" raise e end end end