Handle LDAPException gracefully when processing LDAP search results
@@ -222,6 +222,11 @@ public class ObjectQueryService {
}
}
+ catch (LDAPException e) {
+ logger.warn("Failed to process an LDAP search result. Error was: {}", e.resultCodeToString());
+ logger.debug("Error processing LDAPEntry search result.", e);
+ }
+
}
return entries;
