microsoft / microsoft/winget-cli
Can you make the error messages better?
Open
Nobody has claimed this yet.
Area-Output
Issue-Feature
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature / enhancement
"Failed in attempting to update the source: winget" This error message is bad. It should say something like there was a dns error, read timeout, connect timeout, ssl cert chain issue, expired cert, io error.. It should say something about why it failed.
Proposed technical implementation details
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failed update for the winget source and trace the source-update error handling in the C++ code. Done means failures distinguish causes such as DNS, timeout, certificate, or I/O errors instead of only reporting that the source update failed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100