This commit is contained in:
eric sciple 2020-05-18 11:35:54 -04:00
parent e7b5a7c545
commit 095ab69cb7
1 changed files with 1 additions and 1 deletions

2
dist/index.js vendored
View File

@ -10965,7 +10965,7 @@ function downloadToolAttempt(url, dest, auth) {
};
}
const response = yield http.get(url, headers);
throw new HTTPError(403);
throw new HTTPError(429);
if (response.message.statusCode !== 200) {
const err = new HTTPError(response.message.statusCode);
core.debug(`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);