diff options
author | Stan Hu <stanhu@gmail.com> | 2017-07-04 23:22:59 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-07-04 23:22:59 -0700 |
commit | 804b61eb7a33d439a55c8a155b7b19ae5d9d33f8 (patch) | |
tree | a69134bd844fa41201011340e6cb696e198a0167 | |
parent | 5af1fcd6f329858d757bab0d67cb50af6c820160 (diff) | |
download | gitlab-ce-sh-fix-bad-rails-logger.tar.gz |
Fix invalid Rails.logger call in lib/gitlab/health_checks/fs_shards_check.rbsh-fix-bad-rails-logger
-rw-r--r-- | lib/gitlab/health_checks/fs_shards_check.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/health_checks/fs_shards_check.rb b/lib/gitlab/health_checks/fs_shards_check.rb index e78b7f22e03..70da4080cae 100644 --- a/lib/gitlab/health_checks/fs_shards_check.rb +++ b/lib/gitlab/health_checks/fs_shards_check.rb @@ -52,7 +52,7 @@ module Gitlab ] end rescue RuntimeError => ex - Rails.logger("unexpected error #{ex} when checking #{ok_metric}") + Rails.logger.error("unexpected error #{ex} when checking #{ok_metric}") [metric(ok_metric, 0, **labels)] end |