From aaad768cab014a8ff60523a21f268f6d4bccfebe Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Wed, 11 Nov 2015 13:00:21 +0100 Subject: [PATCH] bug #4033: show error message on ldap connection error (cherry picked from commit 4b9e02958d14b18dc0b62320a83c9ddcce8a3a0e) --- src/authm_mad/remotes/ldap/ldap_auth.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/authm_mad/remotes/ldap/ldap_auth.rb b/src/authm_mad/remotes/ldap/ldap_auth.rb index 0518a73f35..c1936fc248 100644 --- a/src/authm_mad/remotes/ldap/ldap_auth.rb +++ b/src/authm_mad/remotes/ldap/ldap_auth.rb @@ -140,7 +140,8 @@ class OpenNebula::LdapAuth [nil, nil] end end - rescue + rescue Exception => e + STDERR.puts e.message [nil, nil] end end