You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of the errors in the CLI have the following generic error message:
Please check if you are using the latest version of CLI and retry the command
If you are still facing issues, please report it on our community slack or open a GitHub issue (https://github.com/civo/cli/issues)
For example:
$ civo kubernetes create --merge
Please check if you are using the latest version of CLI and retry the command
If you are still facing issues, please report it on our community slack or open a GitHub issue (https://github.com/civo/cli/issues)
Error: you can't use --save, --switch or --merge without --wait
There are multiple issues here:
1. The generic error message does not go to stderr
For example:
$ civo kubernetes create --merge 2> /dev/null
Please check if you are using the latest version of CLI and retry the command
If you are still facing issues, please report it on our community slack or open a GitHub issue (https://github.com/civo/cli/issues)
All logging of this kind should go to stderr!
2. This error message is meaningless is most contexts
In the above example and in every situation I came across this error message, it was in the context of known errors due to missing flags or the like. Not due to a CLI issue that needed that required writing a GitHub issue for it.
Acceptance Criteria
Only use this error message when the error is unknown and output it to stderr
The text was updated successfully, but these errors were encountered:
Issue
A lot of the errors in the CLI have the following generic error message:
For example:
There are multiple issues here:
1. The generic error message does not go to
stderr
For example:
All logging of this kind should go to
stderr
!2. This error message is meaningless is most contexts
In the above example and in every situation I came across this error message, it was in the context of known errors due to missing flags or the like. Not due to a CLI issue that needed that required writing a GitHub issue for it.
Acceptance Criteria
stderr
The text was updated successfully, but these errors were encountered: