From 35af15253e43256deb0410b3cf58221db9698600 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 30 Jan 2025 16:45:39 +0530 Subject: [PATCH] error --- dist/setup/index.js | 1 + src/distributions/base-distribution.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/setup/index.js b/dist/setup/index.js index bac7fe81..278becce 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -100207,6 +100207,7 @@ class BaseDistribution { this.osPlat == 'win32') { return yield this.acquireWindowsNodeFromFallbackLocation(info.resolvedVersion, info.arch); } + core.error(`Download failed from ${info.downloadUrl}. Please check the URl and try again.`); throw err; } const toolPath = yield this.extractArchive(downloadPath, info, true); diff --git a/src/distributions/base-distribution.ts b/src/distributions/base-distribution.ts index ac13ccc7..f2fb1976 100644 --- a/src/distributions/base-distribution.ts +++ b/src/distributions/base-distribution.ts @@ -172,6 +172,7 @@ export default abstract class BaseDistribution { info.arch ); } + core.error(`Download failed from ${info.downloadUrl}. Please check the URl and try again.`); throw err; }