Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/usage_data/topology.rb')
-rw-r--r--lib/gitlab/usage_data/topology.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/usage_data/topology.rb b/lib/gitlab/usage_data/topology.rb
index 7f7854c3eb1..b823d6cc2bf 100644
--- a/lib/gitlab/usage_data/topology.rb
+++ b/lib/gitlab/usage_data/topology.rb
@@ -47,7 +47,7 @@ module Gitlab
nodes: topology_node_data(client)
}.compact
end
- rescue => e
+ rescue StandardError => e
@failures << CollectionFailure.new('other', e.class.to_s)
{}
@@ -183,7 +183,7 @@ module Gitlab
@failures << CollectionFailure.new(query_name, 'empty_result')
fallback
- rescue => e
+ rescue StandardError => e
@failures << CollectionFailure.new(query_name, e.class.to_s)
fallback
end