From 01498de30c2de0dff893204687542b054dc9f590 Mon Sep 17 00:00:00 2001
From: Aparna Jyothi <aparnajyothi-y@github.com>
Date: Thu, 30 Jan 2025 17:13:00 +0530
Subject: [PATCH] error handling

---
 dist/setup/index.js                    | 1 +
 src/distributions/base-distribution.ts | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/dist/setup/index.js b/dist/setup/index.js
index babe4b66..3d4c4c12 100644
--- a/dist/setup/index.js
+++ b/dist/setup/index.js
@@ -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)()}`;
diff --git a/src/distributions/base-distribution.ts b/src/distributions/base-distribution.ts
index 1eb20e6d..b1504449 100644
--- a/src/distributions/base-distribution.ts
+++ b/src/distributions/base-distribution.ts
@@ -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()}`;