Commit 959c297c authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'rails-logger-cop-19' into 'master'

Use applogger in commit signature worker

See merge request gitlab-org/gitlab!32207
parents 9c72a117 c0066411
......@@ -37,7 +37,7 @@ class CreateCommitSignatureWorker
commits.each do |commit|
commit&.signature
rescue => e
Rails.logger.error("Failed to create signature for commit #{commit.id}. Error: #{e.message}") # rubocop:disable Gitlab/RailsLogger
Gitlab::AppLogger.error("Failed to create signature for commit #{commit.id}. Error: #{e.message}")
end
end
# rubocop: enable CodeReuse/ActiveRecord
......
---
title: Use applogger in commit signature worker
merge_request: 32207
author: Rajendra Kadam
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment