error handling

This commit is contained in:
Aparna Jyothi 2025-01-30 17:13:00 +05:30
parent 5809c5dc63
commit 01498de30c
2 changed files with 3 additions and 1 deletions

1
dist/setup/index.js vendored
View File

@ -100225,6 +100225,7 @@ class BaseDistribution {
acquireWindowsNodeFromFallbackLocation(version_1) {
return __awaiter(this, arguments, void 0, function* (version, arch = os_1.default.arch()) {
const initialUrl = this.getDistributionUrl();
core.info('url: ' + initialUrl);
const osArch = this.translateArchToDistUrl(arch);
// Create temporary folder to download to
const tempDownloadFolder = `temp_${(0, uuid_1.v4)()}`;

View File

@ -196,7 +196,8 @@ export default abstract class BaseDistribution {
arch: string = os.arch()
): Promise<string> {
const initialUrl = this.getDistributionUrl();
const osArch: string = this.translateArchToDistUrl(arch);
core.info('url: ' + initialUrl);
const osArch: string = this.translateArchToDistUrl(arch);
// Create temporary folder to download to
const tempDownloadFolder = `temp_${uuidv4()}`;