BigW Consortium Gitlab

arguments_logger.rb 200 Bytes
Newer Older
Jacob Vosmaer committed
1 2 3 4 5 6 7 8 9 10
module Gitlab
  module SidekiqMiddleware
    class ArgumentsLogger
      def call(worker, job, queue)
        Sidekiq.logger.info "arguments: #{job['args']}"
        yield
      end
    end
  end
end