11 lines
200 B
Ruby
11 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
|