-
Notifications
You must be signed in to change notification settings - Fork 35
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
Display a simple error message when user enters an invalid commit sha #27
Labels
Comments
buddhike
pushed a commit
to buddhike/mbt
that referenced
this issue
Feb 8, 2018
- All errors occur within mbt lib is wrapped in an MbtError - When creating MbtError we classify it as either ErrClassUser or ErrClassInternal - Errors with ErrClassUser displays the minimum amount of information and generally operator friendly - Errors with ErrClassInternal displays a general failure message with internal error details and call stack - If you specify --debug flag to any command, even the errors with ErrClassUser will display the internal error details with call stack - Also includes minor, opportunistic improvements to code - #closes mbtproject#27
buddhike
pushed a commit
to buddhike/mbt
that referenced
this issue
Feb 8, 2018
- All errors occur within mbt lib is wrapped in an MbtError - When creating MbtError we classify it as either ErrClassUser or ErrClassInternal - Errors with ErrClassUser displays the minimum amount of information and generally operator friendly - Errors with ErrClassInternal displays a general failure message with internal error details and call stack - If you specify --debug flag to any command, even the errors with ErrClassUser will display the internal error details with call stack - Also includes minor, opportunistic improvements to code - #closes mbtproject#27
buddhike
pushed a commit
that referenced
this issue
Feb 8, 2018
- All errors occur within mbt lib is wrapped in an MbtError - When creating MbtError we classify it as either ErrClassUser or ErrClassInternal - Errors with ErrClassUser displays the minimum amount of information and generally operator friendly - Errors with ErrClassInternal displays a general failure message with internal error details and call stack - If you specify --debug flag to any command, even the errors with ErrClassUser will display the internal error details with call stack - Also includes minor, opportunistic improvements to code - #closes #27
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
e.g.
mbt describe commit fjldaf
should display a simple error message than:encoding/hex: invalid byte: U+006A 'j'
The text was updated successfully, but these errors were encountered: