gitlab-org--gitlab-foss/lib/gitlab/sidekiq_middleware/arguments_logger.rb
2014-07-28 16:46:36 +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