diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-28 15:11:19 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-28 15:11:42 +0300 |
commit | f36b8d30e5026d0d4c76ca8103e53f241cf71d7c (patch) | |
tree | 9a89500293f27b46acc47901bd7defdb96acf694 /lib/gitlab | |
parent | 48c36378567b3dbadd780b03ecda571652cff400 (diff) |
Add latest changes from gitlab-org/security/gitlab@16-1-stable-ee
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/sidekiq_middleware/arguments_logger.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/sidekiq_middleware/arguments_logger.rb b/lib/gitlab/sidekiq_middleware/arguments_logger.rb index 2c506786d83..a743663d66a 100644 --- a/lib/gitlab/sidekiq_middleware/arguments_logger.rb +++ b/lib/gitlab/sidekiq_middleware/arguments_logger.rb @@ -6,7 +6,8 @@ module Gitlab include Sidekiq::ServerMiddleware def call(worker, job, queue) - logger.info "arguments: #{Gitlab::Json.dump(job['args'])}" + loggable_args = Gitlab::ErrorTracking::Processor::SidekiqProcessor.loggable_arguments(job['args'], job['class']) + logger.info "arguments: #{Gitlab::Json.dump(loggable_args)}" yield end end |