Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update ldap-fns.ts

Daniel Hougaard089d6812fd20
diff --git a/backend/src/ee/services/ldap-config/ldap-fns.ts b/backend/src/ee/services/ldap-config/ldap-fns.ts
index 66d7995833..99b0d8d9b0 100644
--- a/backend/src/ee/services/ldap-config/ldap-fns.ts
+++ b/backend/src/ee/services/ldap-config/ldap-fns.ts
@@ -36,8 +36,7 @@ export const testLDAPConfig = async (ldapConfig: TLDAPConfig): Promise<boolean>
});
ldapClient.on("error", (err) => {
- logger.error("LDAP client error:", err);
- logger.error(err);
+ logger.error(err, "LDAP client error");
resolve(false);
});