mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 11:29:21 +00:00
improvements: address feedback
This commit is contained in:
@@ -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}`));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user