Skip to content

Commit f0f0822

Browse files
committed
(d) print download URL in error message
1 parent 4158d2b commit f0f0822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/installer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ async function downloadRelease(version: string): Promise<string> {
164164
if (typeof error === "string" || error instanceof Error) {
165165
core.debug(error.toString());
166166
}
167-
throw new Error(`Failed to download version ${version}: ${error}`);
167+
throw new Error(`Failed to download version ${version} from ${downloadUrl}: ${error}`);
168168
}
169169

170170
// Extract

0 commit comments

Comments
 (0)