Skip to content
Snippets Groups Projects
Commit dc20dd27 authored by David's avatar David
Browse files

aiionx_sidekiq_log_patch

parent a1497ba3
No related branches found
No related tags found
No related merge requests found
Loading
@@ -2,7 +2,7 @@ module Gitlab
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment