Skip to content

Fix exceptions breaking out of the multi-package install loop - #2089

Merged
JohnMcPMS merged 1 commit into
microsoft:masterfrom
JohnMcPMS:catch-exceptions-multi
Apr 12, 2022
Merged

JohnMcPMS merged 1 commit into
microsoft:masterfrom
JohnMcPMS:catch-exceptions-multi

Conversation

@JohnMcPMS

@JohnMcPMS JohnMcPMS commented Apr 12, 2022 •

Copy link
Copy Markdown
Member

Fixes #1442

Change

Wrap the subexecution with a try/catch to prevent exceptions from breaking out of the mult-package install loop.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS
JohnMcPMS requested a review from a team as a code owner April 12, 2022 21:37
@ghost ghost added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Apr 12, 2022
@JohnMcPMS
JohnMcPMS merged commit 8340ee2 into microsoft:master Apr 12, 2022
@JohnMcPMS
JohnMcPMS deleted the catch-exceptions-multi branch April 12, 2022 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Issue-Bug It either shouldn't be doing this or needs an investigation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

winget upgrade --all fails for all packages even if only one single package causes error

2 participants