Skip to content

Commit 17f43a7

Browse files
committed
fix: add target name to error messages
Closes #23
1 parent 3244b28 commit 17f43a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/fetch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export async function findExactSemanticVersionTag(
100100
}
101101

102102
throw new Error(
103-
`Expected to find an exact semantic version tag matching ${givenTag}`
103+
`Expected to find an exact semantic version tag matching ${givenTag} for ${slug.owner}/${slug.repository}`
104104
);
105105
}
106106

@@ -125,7 +125,7 @@ export async function fetchReleaseAssetMetadataFromTag(
125125
);
126126
if (asset === undefined) {
127127
throw new Error(
128-
`Expected to find asset in release ${tag} with label ${targetTriple}`
128+
`Expected to find asset in release ${slug.owner}/${slug.repository}@${tag} with label ${targetTriple}`
129129
);
130130
}
131131
return {

0 commit comments

Comments
 (0)