Commit bf774317 authored by Peter Leitzen's avatar Peter Leitzen

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

Use applogger in file mover

See merge request gitlab-org/gitlab!32206
parents 959c297c 4b0cc888
......@@ -98,7 +98,7 @@ class FileMover
end
def revert
Rails.logger.warn("Markdown not updated, file move reverted for #{to_model}") # rubocop:disable Gitlab/RailsLogger
Gitlab::AppLogger.warn("Markdown not updated, file move reverted for #{to_model}")
if temp_file_uploader.file_storage?
FileUtils.move(file_path, temp_file_path)
......
---
title: Use applogger in file mover file
merge_request: 32206
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