mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-19 04:08:21 +00:00
feat: more contextual not found errors
This commit is contained in:
@@ -72,7 +72,7 @@ export const secretVersionDALFactory = (db: TDbClient) => {
|
||||
);
|
||||
|
||||
if (existingSecretVersions.length !== data.length) {
|
||||
throw new NotFoundError({ message: "Some of the secret versions do not exist" });
|
||||
throw new NotFoundError({ message: "One or more secret versions not found" });
|
||||
}
|
||||
|
||||
if (data.length === 0) return [];
|
||||
|
||||
Reference in New Issue
Block a user