directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1410128 - /directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/PoolableLdapConnectionFactory.java
Date Fri, 16 Nov 2012 00:43:13 GMT
Author: elecharny
Date: Fri Nov 16 00:43:13 2012
New Revision: 1410128

URL: http://svn.apache.org/viewvc?rev=1410128&view=rev
Log:
Adding a log

Modified:
    directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/PoolableLdapConnectionFactory.java

Modified: directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/PoolableLdapConnectionFactory.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/PoolableLdapConnectionFactory.java?rev=1410128&r1=1410127&r2=1410128&view=diff
==============================================================================
--- directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/PoolableLdapConnectionFactory.java
(original)
+++ directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/PoolableLdapConnectionFactory.java
Fri Nov 16 00:43:13 2012
@@ -88,10 +88,12 @@ public class PoolableLdapConnectionFacto
         }
         catch ( Exception e )
         {
+            LOG.warn( "Cannot bind : {}", e.getMessage() );
+            
             // We weren't able to bind : close the connection
             connection.close();
             
-            // And rethrow the exception
+            // And re-throw the exception
             throw e;
         }
         



Mime
View raw message