eks-anywhere icon indicating copy to clipboard operation
eks-anywhere copied to clipboard

Log the command line error before generating support bundles

Open jiayiwang7 opened this issue 2 years ago • 1 comments

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.

jiayiwang7 avatar Jun 24 '22 20:06 jiayiwang7

would it be useful to also add a flag to disable bundle collection?

danbudris avatar Jun 24 '22 20:06 danbudris