mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
feat: add better error message
This commit is contained in:
@@ -94,7 +94,7 @@ export const LdapProvider = (): TDynamicProviderFns => {
|
||||
try {
|
||||
parsedEntries = ldif.parse(ldif_file).entries as any[];
|
||||
} catch (err) {
|
||||
throw new BadRequestError({ message: "Invalid LDIF, Please check LDIF entries section in the documentation." });
|
||||
throw new BadRequestError({ message: "Invalid LDIF format, refer to the documentation at Dynamic secrets > LDAP > LDIF Entries." });
|
||||
}
|
||||
|
||||
const dnArray: string[] = [];
|
||||
|
||||
Reference in New Issue
Block a user