[PowerShell Module]: CatalogError if fetching msstore packages fails #4784
Labels
In-PR
Issue related to a PR
Issue-Bug
It either shouldn't be doing this or needs an investigation.
msstore
Issue related to "msstore" REST source
PowerShell
Issue related to WinGet PowerShell Module or cmdlet
Brief description of your issue
Get-WinGetPackage
returns CatalogError:I don't know where to get the associated logs from, but I believe it's failing update
msstore
source. How do I know this? Well for one,Get-WinGetPackage -Source winget
works fine. And alsowinget list
output shows meFailed when searching source; results will not be included: msstore
(root cause of which is I believe #4785)I think the expected behavior would be that instead of completely failing if one source errors out,
Get-WinGetPacakge
should return the packages it's able to find successfully i.e., making the behavior consistent withwinget list
Steps to reproduce
Get-WinGetPackage
Expected behavior
Get-WinGetPackage should return packages from winget or other configured sources
Actual behavior
Command errors out with CatalogError
Environment
The text was updated successfully, but these errors were encountered: