google / glazier

A tool for automating the installation of the Microsoft Windows operating system on various device platforms.
Apache License 2.0
1.22k stars 90 forks source link

Change CheckUrl() to raise errors and allow DownloadFailedError to be raised through it. #727

Closed copybara-service[bot] closed 8 months ago

copybara-service[bot] commented 8 months ago

Change CheckUrl() to raise errors and allow DownloadFailedError to be raised through it.

This will allow the HTTP code to be raised to Glazier error output, as the HTTP code is saved in DownloadFailedError.

google-cla[bot] commented 8 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.