summaryrefslogtreecommitdiff
path: root/lib/gitlab/health_checks/probes/collection.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/health_checks/probes/collection.rb')
-rw-r--r--lib/gitlab/health_checks/probes/collection.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/health_checks/probes/collection.rb b/lib/gitlab/health_checks/probes/collection.rb
index b34e4273d85..76ad1c84214 100644
--- a/lib/gitlab/health_checks/probes/collection.rb
+++ b/lib/gitlab/health_checks/probes/collection.rb
@@ -20,7 +20,7 @@ module Gitlab
success ? 200 : 503,
status(success).merge(payload(readiness))
)
- rescue => e
+ rescue StandardError => e
exception_payload = { message: "#{e.class} : #{e.message}" }
Probes::Status.new(