We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f87918 commit 0cbd63aCopy full SHA for 0cbd63a
1 file changed
nxc/protocols/ldap.py
@@ -205,6 +205,9 @@ def create_conn_obj(self):
205
except Exception as e:
206
self.logger.debug("Exception:", exc_info=True)
207
self.logger.info(f"Skipping item, cannot process due to error {e}")
208
+ except ConnectionRefusedError as e:
209
+ self.logger.debug(f"{e} on host {self.host}")
210
+ return False
211
except OSError as e:
212
self.logger.error(f"Error getting ldap info {e}")
213
0 commit comments