Skip to content

Commit 6289247

Browse files
committed
logged exception when it is not possible to connect to ldap server
1 parent 8975542 commit 6289247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/instaclustr/cassandra/ldap/LDAPAuthenticator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public void setup()
130130
}
131131
catch (ConfigurationException e)
132132
{
133-
logger.warn(String.format("Not possible to connect to LDAP server as user %s.", properties.getProperty(LDAP_DN)));
133+
logger.warn(String.format("Not possible to connect to LDAP server as user %s.", properties.getProperty(LDAP_DN)), e);
134134
}
135135

136136
CassandraRolePasswordRetriever cassandraRolePasswordRetriever = new CassandraRolePasswordRetriever(state);

0 commit comments

Comments
 (0)