improvements: address feedback

This commit is contained in:
Scott Wilson
2025-04-24 19:35:56 -07:00
parent e0dc2dd6d8
commit b329b5aa4b
3 changed files with 2 additions and 1 deletions
@@ -44,6 +44,7 @@ export const getLdapConnectionClient = async ({
client.on("error", (err: Error) => {
logger.error(err, "LDAP Error");
client.destroy();
reject(new Error(`Provider Error - ${err.message}`));
});