diff options
author | DJ Mountney <david@twkie.net> | 2016-05-12 09:04:04 -0700 |
---|---|---|
committer | DJ Mountney <david@twkie.net> | 2016-05-12 09:04:04 -0700 |
commit | ad77ab0376fabf3dfadea86c716358964b526956 (patch) | |
tree | 9c92b2eb2a00f973735542d0631a1a2155723de2 /app/controllers | |
parent | c8f23bd2edc19f968446b149120df1f7798eb4b1 (diff) | |
download | gitlab-ce-ad77ab0376fabf3dfadea86c716358964b526956.tar.gz |
Add Changelog entryhealth-check-route
and drop exception handling around HealthCheck::Utils.process_checks, it wasn't needed
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/admin/health_check_controller.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/controllers/admin/health_check_controller.rb b/app/controllers/admin/health_check_controller.rb index 3153a765e35..241c7be0ea1 100644 --- a/app/controllers/admin/health_check_controller.rb +++ b/app/controllers/admin/health_check_controller.rb @@ -1,9 +1,5 @@ class Admin::HealthCheckController < Admin::ApplicationController def show - begin - @errors = HealthCheck::Utils.process_checks('standard') - rescue => e - @errors = e.message.blank? ? e.class.to_s : e.message.to_s - end + @errors = HealthCheck::Utils.process_checks('standard') end end |