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

DSC error that tells you to check log should suggest where LOG is #4370

Open
KevinLaMS opened this issue Apr 11, 2024 · 0 comments
Open

DSC error that tells you to check log should suggest where LOG is #4370

KevinLaMS opened this issue Apr 11, 2024 · 0 comments
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.

Comments

@KevinLaMS
Copy link
Contributor

Brief description of your issue

I created .winget file pointing to private store app. This will fail the Store access from winget, because i need to log in to the store.

Error:
Apply :: WinGetPackage
The configuration unit failed while attempting to test the current system state.
An error occurred while searching for packages: CatalogError

My issues:

  1. CatalogError: This is pretty cryptic. Why not just say we cannot access the Source if that is the issue.
  2. ""
    Why make me do extra work when winget can tell me:
    OPTIONS
    A)
    See C:\Users\WDAGUtilityAccount\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-2024-04-11-09-03-54.698.log
    for additional details.

B) suggest, Re-Run the command with the --Logs and --verbose-logs for additional details.

C) Simply tell the user what is wrong so they do not need to look at the log.

image

Steps to reproduce

In SandBox, run the following .winget once you have updated the id to be canary build of a store app that requires permission

properties:
configurationVersion: 0.2.0
resources:

  • directives:
    allowPrerelease: true
    description: private app
    resource: Microsoft.WinGet.DSC/WinGetPackage
    settings:
    id:
    source: msstore

Expected behavior

Better error handling. see suggestions

Actual behavior

image

Environment

C:\Users\WDAGUtilityAccount>winget --info
Windows Package Manager v1.7.10861
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26100.1000
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10861.0
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Apr 11, 2024
@denelon denelon added Issue-Feature This is a feature request for the Windows Package Manager client. and removed Needs-Triage Issue need to be triaged labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

No branches or pull requests

2 participants