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/system_check/ldap_check.rb')
-rw-r--r--lib/system_check/ldap_check.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system_check/ldap_check.rb b/lib/system_check/ldap_check.rb
index 3d71edbc256..62f803a60fc 100644
--- a/lib/system_check/ldap_check.rb
+++ b/lib/system_check/ldap_check.rb
@@ -42,7 +42,7 @@ module SystemCheck
end
end
end
- rescue Net::LDAP::ConnectionRefusedError, Errno::ECONNREFUSED => e
+ rescue Errno::ECONNREFUSED => e
$stdout.puts "Could not connect to the LDAP server: #{e.message}".color(:red)
end
end