diff options
Diffstat (limited to 'lib/system_check/ldap_check.rb')
-rw-r--r-- | lib/system_check/ldap_check.rb | 2 |
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 |