microsoft / winget-create

The Windows Package Manager Manifest Creator command-line tool (aka wingetcreate)
MIT License
503 stars 85 forks source link

Display error message during network connection failure. #330

Closed ryfu-msft closed 1 year ago

ryfu-msft commented 1 year ago

Fixes #328

Shows an explicit error message to the user if winget-create is unable to connect to GitHub when there is no network connection. The error is non-blocking in case connection to GitHub fails, but winget-create is still able to download from a local network.

Also displays the proper error message if GitHub oauth device login flow fails also fails to connect.

Verified behavior manually.

Microsoft Reviewers: Open in CodeFlow