[Rt-commit] rt branch, 4.4/ldapimport-connect-options, updated. rt-4.4.1-335-g868c7238d

Jim Brandt jbrandt at bestpractical.com
Fri Feb 2 17:01:23 EST 2018


The branch, 4.4/ldapimport-connect-options has been updated
       via  868c7238d8ebe833d05b3fc51e7043d5ae6b8159 (commit)
      from  06a33a0a0d4f78ffec4995a1356463ce3c3b14e5 (commit)

Summary of changes:
 lib/RT/LDAPImport.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 868c7238d8ebe833d05b3fc51e7043d5ae6b8159
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri Feb 2 17:01:18 2018 -0500

    Provide more debug output on connect failure

diff --git a/lib/RT/LDAPImport.pm b/lib/RT/LDAPImport.pm
index 9d469af4e..ecfb17c38 100644
--- a/lib/RT/LDAPImport.pm
+++ b/lib/RT/LDAPImport.pm
@@ -394,7 +394,7 @@ sub connect_ldap {
 
     $RT::Logger->debug("connecting to $RT::LDAPHost");
     unless ($ldap) {
-        $RT::Logger->error("Can't connect to $RT::LDAPHost");
+        $RT::Logger->error("Can't connect to $RT::LDAPHost $@");
         return;
     }
 

-----------------------------------------------------------------------


More information about the rt-commit mailing list