eks-anywhere
eks-anywhere copied to clipboard
Log the command line error before generating support bundles
What would you like to be added:
We should log the error message first before going into the support bundle step when CLI fails.
Why is this needed:
Generating support bundle is a relatively time consuming task. It is launched whenever CLI fails. Currently the actual CLI error message is only printed out after support bundle generation. Many times as users we simply want to see the error and iterate accordingly. Moving the error message up so that user can have quick feedback and does not need to rely on relatively time consuming support bundle generation.
would it be useful to also add a flag to disable bundle collection?