GUACAMOLE-717: Handle LDAPException gracefully when processing LDAP search results

This commit is contained in:
Joel Best
2019-01-25 17:45:02 -05:00
parent 957d45d9ea
commit 93d80418ba

View File

@@ -221,6 +221,11 @@ public class ObjectQueryService {
logger.debug("Got a referral, but configured to not follow them.", e);
}
}
catch (LDAPException e) {
logger.warn("Failed to process an LDAP search result. Error was: {}", e.resultCodeToString());
logger.debug("Error processing LDAPEntry search result.", e);
}
}