Commit dc20dd27 authored by David's avatar David

aiionx_sidekiq_log_patch

parent a1497ba3
...@@ -2,7 +2,7 @@ module Gitlab ...@@ -2,7 +2,7 @@ module Gitlab
module SidekiqMiddleware module SidekiqMiddleware
class ArgumentsLogger class ArgumentsLogger
def call(worker, job, queue) def call(worker, job, queue)
Sidekiq.logger.info "arguments: #{job['args']}" Sidekiq.logger.info "arguments: #{JSON.dump(job['args'])}"
yield yield
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment