mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
chore: switch to bad request error
This commit is contained in:
@@ -152,7 +152,7 @@ export const LdapProvider = (): TDynamicProviderFns => {
|
||||
});
|
||||
} else {
|
||||
client.unbind();
|
||||
throw new Error(`Unsupported operation type ${entry.type}`);
|
||||
throw new BadRequestError({ message: `Unsupported operation type ${entry.type}` });
|
||||
}
|
||||
|
||||
dnArray.push(response_dn);
|
||||
|
||||
Reference in New Issue
Block a user