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

Fix format exception bug when package parsing fails #156

Merged
merged 1 commit into from
Sep 2, 2021

Conversation

ryfu-msft
Copy link
Contributor

@ryfu-msft ryfu-msft commented Sep 2, 2021

Fixes #147

This PR adds the following changes:

  • Refactors the ParsePackages method in the NewCommand so that it is void and throws an exception if parsing fails.
  • Ensure that the failed installer URL is provided to the formatted string when error logging.
Microsoft Reviewers: Open in CodeFlow

@ryfu-msft ryfu-msft requested a review from a team as a code owner September 2, 2021 21:35
@ghost ghost added the Issue-Bug label Sep 2, 2021
@ryfu-msft ryfu-msft merged commit 371490a into main Sep 2, 2021
@ryfu-msft ryfu-msft deleted the FormatException branch September 2, 2021 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants