update error logging

This commit is contained in:
mahabaleshwars 2025-04-10 08:38:23 +05:30
parent c1df1459aa
commit 1bf238588b
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View File

@ -97566,7 +97566,7 @@ function installCpythonFromRelease(release) {
core.error(`Received HTTP status code 403 (Forbidden). This usually indicates that the request is not authorized. Please check your credentials or permissions.`); core.error(`Received HTTP status code 403 (Forbidden). This usually indicates that the request is not authorized. Please check your credentials or permissions.`);
} }
else if (err.httpStatusCode === 429) { else if (err.httpStatusCode === 429) {
core.error(`Received HTTP status code 429 (Too Many Requests). This usually indicates that the rate limit has been exceeded. Please wait and try again later.`); core.info(`Received HTTP status code 429 (Too Many Requests). This usually indicates that the rate limit has been exceeded. Please wait and try again later.`);
} }
else { else {
core.error(err.message); core.error(err.message);

View File

@ -154,7 +154,7 @@ export async function installCpythonFromRelease(release: tc.IToolRelease) {
`Received HTTP status code 403 (Forbidden). This usually indicates that the request is not authorized. Please check your credentials or permissions.` `Received HTTP status code 403 (Forbidden). This usually indicates that the request is not authorized. Please check your credentials or permissions.`
); );
} else if (err.httpStatusCode === 429) { } else if (err.httpStatusCode === 429) {
core.error( core.info(
`Received HTTP status code 429 (Too Many Requests). This usually indicates that the rate limit has been exceeded. Please wait and try again later.` `Received HTTP status code 429 (Too Many Requests). This usually indicates that the rate limit has been exceeded. Please wait and try again later.`
); );
} else { } else {