try to fix test

This commit is contained in:
mpgn
2025-01-06 09:24:49 +01:00
parent 5f87918e5f
commit 0cbd63aa25
+3
View File
@@ -205,6 +205,9 @@ class ldap(connection):
except Exception as e:
self.logger.debug("Exception:", exc_info=True)
self.logger.info(f"Skipping item, cannot process due to error {e}")
except ConnectionRefusedError as e:
self.logger.debug(f"{e} on host {self.host}")
return False
except OSError as e:
self.logger.error(f"Error getting ldap info {e}")