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

Don't let unset error codes be thrown #5255

Merged
merged 1 commit into from
Feb 27, 2025

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