fix: clarify IdP validation messages across policy flows

This commit is contained in:
copilot-swe-agent[bot]
2026-06-16 23:46:51 +00:00
committed by GitHub
parent ad1c8113ea
commit 3b68139873
3 changed files with 3 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ export async function updateResourcePolicies(
if (!provider) {
throw new Error(
`Identity provider not found for policy '${policyNiceId}' in this organization`
`Identity provider not found for policy '${policyNiceId}'`
);
}

View File

@@ -214,7 +214,7 @@ export async function createResourcePolicy(
return next(
createHttpError(
HttpCode.INTERNAL_SERVER_ERROR,
"Identity provider not found in this organization"
"Identity provider not found"
)
);
}

View File

@@ -114,7 +114,7 @@ export async function setResourcePolicyAccessControl(
return next(
createHttpError(
HttpCode.INTERNAL_SERVER_ERROR,
"Identity provider not found in this organization"
"Identity provider not found"
)
);
}