1
0
Fork 0

updating artifact not found error message to include more information and link to FAQ

pull/1628/head
eggyhead 2024-01-18 04:10:35 +00:00
parent 64c0992283
commit 30942cc4ae
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,9 @@ export async function getArtifactPublic(
if (getArtifactResp.data.artifacts.length === 0) {
throw new ArtifactNotFoundError(
`Artifact not found for name: ${artifactName}`
`Artifact not found for name: ${artifactName}\n
Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.\n
For more information, visit the Github Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`
)
}