mirror of
https://github.com/actions/setup-python.git
synced 2025-04-19 11:13:29 +00:00
update error logging
This commit is contained in:
parent
c1df1459aa
commit
1bf238588b
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@ -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.`);
|
||||
}
|
||||
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 {
|
||||
core.error(err.message);
|
||||
|
@ -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.`
|
||||
);
|
||||
} 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.`
|
||||
);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user