diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2019-07-05 08:57:26 -0500 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2019-07-10 10:45:40 -0500 |
commit | 1345a954ded8e10dba182b6ea3e823bc234947a9 (patch) | |
tree | b17a7d036488a9207dae8d3ead94f26a27bbf022 /lib/gitlab/github_import/importer/lfs_objects_importer.rb | |
parent | b76d4fadd4be35141df659b5ab2ba99b21c79ead (diff) | |
download | gitlab-ce-54102-add-rubocop-for-rails-logger.tar.gz |
Add a rubocop for Rails.logger54102-add-rubocop-for-rails-logger
Suggests to use a JSON structured log instead
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
Diffstat (limited to 'lib/gitlab/github_import/importer/lfs_objects_importer.rb')
-rw-r--r-- | lib/gitlab/github_import/importer/lfs_objects_importer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/github_import/importer/lfs_objects_importer.rb b/lib/gitlab/github_import/importer/lfs_objects_importer.rb index 6046e30d4ef..30763492235 100644 --- a/lib/gitlab/github_import/importer/lfs_objects_importer.rb +++ b/lib/gitlab/github_import/importer/lfs_objects_importer.rb @@ -29,7 +29,7 @@ module Gitlab yield object end rescue StandardError => e - Rails.logger.error("The Lfs import process failed. #{e.message}") + Rails.logger.error("The Lfs import process failed. #{e.message}") # rubocop:disable Gitlab/RailsLogger end end end |