debian-mirror-gitlab/lib/gitlab/sidekiq_middleware/arguments_logger.rb
2014-09-02 14:37:02 +02:00

10 lines
200 B
Ruby

module Gitlab
module SidekiqMiddleware
class ArgumentsLogger
def call(worker, job, queue)
Sidekiq.logger.info "arguments: #{job['args']}"
yield
end
end
end
end