2014-09-02 18:07:02 +05:30
|
|
|
module Gitlab
|
|
|
|
module SidekiqMiddleware
|
|
|
|
class ArgumentsLogger
|
|
|
|
def call(worker, job, queue)
|
2016-11-03 12:29:30 +05:30
|
|
|
Sidekiq.logger.info "arguments: #{JSON.dump(job['args'])}"
|
2014-09-02 18:07:02 +05:30
|
|
|
yield
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|