From a5c558f0525a6ddcdddf6b7e61b554c3446fe2d5 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Wed, 25 Sep 2019 03:28:25 +0900 Subject: Hide error message on /heath (#11947) * Hide error message on /heath * update health_check --- config/initializers/health_check.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/initializers') diff --git a/config/initializers/health_check.rb b/config/initializers/health_check.rb index eece67b10..6f1e78fed 100644 --- a/config/initializers/health_check.rb +++ b/config/initializers/health_check.rb @@ -3,4 +3,6 @@ HealthCheck.setup do |config| config.standard_checks = %w(database migrations cache) config.full_checks = %w(database migrations cache) + + config.include_error_in_response_body = false end -- cgit