lib/honeybadger/plugins/sidekiq.rb in honeybadger-3.2.0 vs lib/honeybadger/plugins/sidekiq.rb in honeybadger-3.3.0

- old
+ new

@@ -15,10 +15,10 @@ requirement { defined?(::Sidekiq) } execution do ::Sidekiq.configure_server do |sidekiq| sidekiq.server_middleware do |chain| - chain.add Middleware + chain.prepend Middleware end end if defined?(::Sidekiq::VERSION) && ::Sidekiq::VERSION > '3' ::Sidekiq.configure_server do |sidekiq|