about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2019-09-25 03:28:25 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-09-24 20:28:25 +0200
commita5c558f0525a6ddcdddf6b7e61b554c3446fe2d5 (patch)
tree2ec756ce2029e76680e48ec4799bc384221178a3 /config/initializers
parentb02169f124b8efefa33c10a14a5b45d5f9806e3d (diff)
Hide error message on /heath (#11947)
* Hide error message on /heath

* update health_check
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/health_check.rb2
1 files changed, 2 insertions, 0 deletions
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