Commit fbe6441f authored by Peter Leitzen's avatar Peter Leitzen

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

Use appLogger in chat_team.rb

See merge request gitlab-org/gitlab!32184
parents b5bb4ada 342c0617
......@@ -12,6 +12,6 @@ class ChatTeam < ApplicationRecord
# Either the group is not found, or the user doesn't have the proper
# access on the mattermost instance. In the first case, we're done either way
# in the latter case, we can't recover by retrying, so we just log what happened
Rails.logger.error("Mattermost team deletion failed: #{e}") # rubocop:disable Gitlab/RailsLogger
Gitlab::AppLogger.error("Mattermost team deletion failed: #{e}")
end
end
---
title: Use applogger in chat_team.rb
merge_request: 32184
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