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