Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle 404 on download #75

Merged
merged 1 commit into from
Dec 20, 2022
Merged

Handle 404 on download #75

merged 1 commit into from
Dec 20, 2022

Conversation

jhaber
Copy link
Member

@jhaber jhaber commented Dec 20, 2022

Currently we don't check for success on the http response, which means we can get a 404 and happily proceed (and fail later when we try to extract the response body as an archive file). This PR updates the downloader to check response status, and also special-case 404 on mac-arm so that we retry against mac-x64 (older versions of node don't have a mac-arm version)

@jhaber jhaber merged commit 122da2c into master Dec 20, 2022
@jhaber jhaber deleted the jh/handle-404 branch December 20, 2022 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant