mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 19:44:52 +00:00
feat: more contextual not found errors
This commit is contained in:
@@ -199,7 +199,7 @@ export const secretSharingServiceFactory = ({
|
||||
|
||||
if (!sharedSecret)
|
||||
throw new NotFoundError({
|
||||
message: "Shared secret not found"
|
||||
message: `Shared secret with ID '${sharedSecretId}' not found`
|
||||
});
|
||||
|
||||
const { accessType, expiresAt, expiresAfterViews } = sharedSecret;
|
||||
|
||||
Reference in New Issue
Block a user