KEMBAR78
Don't let unset error codes be thrown by JohnMcPMS · Pull Request #5255 · microsoft/winget-cli · GitHub
Skip to content

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Feb 27, 2025

Change

Some of the http_exceptions coming through this function don't have error codes set. Throwing that success code causes WIL to fail fast.

Validation

Forced an exception without a code to be thrown (force the Store DNS to map to another web server so that the certificate did not match).

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner February 27, 2025 00:32
@JohnMcPMS JohnMcPMS merged commit ec46ec3 into microsoft:master Feb 27, 2025
9 checks passed
@JohnMcPMS JohnMcPMS deleted the ff-handleget branch February 27, 2025 16:56
JohnMcPMS added a commit to JohnMcPMS/winget-cli that referenced this pull request Feb 27, 2025
## Change
Some of the `http_exception`s coming through this function don't have
error codes set. Throwing that success code causes WIL to fail fast.
JohnMcPMS added a commit that referenced this pull request Feb 27, 2025
## Change
Some of the `http_exception`s coming through this function don't have
error codes set. Throwing that success code causes WIL to fail fast.

CP from #5255
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.

2 participants