Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
342c0617
Commit
342c0617
authored
May 24, 2020
by
Rajendra Kadam
Committed by
Peter Leitzen
May 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use appLogger in chat_team.rb
parent
9ed1e151
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
app/models/chat_team.rb
app/models/chat_team.rb
+1
-1
changelogs/unreleased/rails-logger-cop-3.yml
changelogs/unreleased/rails-logger-cop-3.yml
+5
-0
No files found.
app/models/chat_team.rb
View file @
342c0617
...
@@ -12,6 +12,6 @@ class ChatTeam < ApplicationRecord
...
@@ -12,6 +12,6 @@ class ChatTeam < ApplicationRecord
# Either the group is not found, or the user doesn't have the proper
# 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
# 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
# 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
end
end
changelogs/unreleased/rails-logger-cop-3.yml
0 → 100644
View file @
342c0617
---
title
:
Use applogger in chat_team.rb
merge_request
:
32184
author
:
Rajendra Kadam
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment