From 675f88221e2c1c3ab851a46191982a0ccb78c91f Mon Sep 17 00:00:00 2001
From: Aparna Jyothi <aparnajyothi-y@github.com>
Date: Mon, 3 Feb 2025 16:55:22 +0530
Subject: [PATCH] error update

---
 dist/setup/index.js                                  | 2 +-
 src/distributions/official_builds/official_builds.ts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dist/setup/index.js b/dist/setup/index.js
index b13e9f09..56434c07 100644
--- a/dist/setup/index.js
+++ b/dist/setup/index.js
@@ -100728,7 +100728,7 @@ class OfficialBuilds extends base_distribution_1.default {
             const versions = this.filterVersions(nodeJsVersions);
             const evaluatedVersion = this.evaluateVersions(versions);
             if (!evaluatedVersion) {
-                throw new Error(`Unable to find Node version '${this.nodeInfo.versionSpec}' for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} from the provided ${this.nodeInfo.mirrorURL}.`);
+                throw new Error(`Unable to find Node version '${this.nodeInfo.versionSpec}' for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} from the provided mirror-url ${this.nodeInfo.mirrorURL}. Please check the mirror-url`);
             }
             const toolName = this.getNodejsMirrorURLInfo(evaluatedVersion);
             try {
diff --git a/src/distributions/official_builds/official_builds.ts b/src/distributions/official_builds/official_builds.ts
index e4f56499..151f2298 100644
--- a/src/distributions/official_builds/official_builds.ts
+++ b/src/distributions/official_builds/official_builds.ts
@@ -323,7 +323,7 @@ export default class OfficialBuilds extends BaseDistribution {
 
     if (!evaluatedVersion) {
       throw new Error(
-        `Unable to find Node version '${this.nodeInfo.versionSpec}' for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} from the provided ${this.nodeInfo.mirrorURL}.`
+        `Unable to find Node version '${this.nodeInfo.versionSpec}' for platform ${this.osPlat} and architecture ${this.nodeInfo.arch} from the provided mirror-url ${this.nodeInfo.mirrorURL}. Please check the mirror-url`
       );
     }