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

Provide friendly error messages on well-known exit codes #1526

Closed
ferventcoder opened this issue Mar 25, 2018 · 1 comment
Closed

Provide friendly error messages on well-known exit codes #1526

ferventcoder opened this issue Mar 25, 2018 · 1 comment

Comments

@ferventcoder
Copy link
Member

ferventcoder commented Mar 25, 2018

When encountering exit codes, like the MSI 1603, it's likely more helpful to give a user some information that they can actually action and use rather than just the code.

@ferventcoder ferventcoder added this to the 0.10.9 milestone Mar 25, 2018
@ferventcoder ferventcoder self-assigned this Mar 25, 2018
@ferventcoder ferventcoder changed the title Provide friendlier error messages on well-known exit codes Provide friendly error messages on well-known exit codes Mar 25, 2018
ferventcoder added a commit that referenced this issue Mar 25, 2018
For well-known exit codes, provide helpful information that may help a
user determine whether something is wrong on their end, with the
package, or with Chocolatey itself.
ferventcoder added a commit that referenced this issue Mar 25, 2018
* stable:
  (version) 0.10.9
  (doc) update release notes
  (GH-474) Adding reset of console on abnormal exit
  (doc) update release notes
  (GH-1526) Provide friendly messages on exit codes
  (maint) update tab expansion
  (GH-1365) Do not warn on missing folders
  (doc) update release notes
  (GH-1524) Capture password when only user is provided
@bcurran3
Copy link

There are more error codes that could be useful if added to Start-ChocolateyProcessAsAdmin.ps1

Below is a list from Microsoft:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa376931(v=vs.85).aspx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants