Skip to content

Commit

Permalink
Guide user on how to extract extension error (#2244)
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel authored Nov 12, 2024
1 parent 2594a04 commit e72df26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/cmdcommon/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ func newExtensionsConfig(config *KymaConfig, cmd *cobra.Command) *KymaExtensions
if err != nil && shouldShowExtensionsError() {
// print error as warning if expected and continue
fmt.Printf("Extensions Warning:\n%s\n\n", err.Error())
} else if err != nil {
fmt.Print("Extensions Warning:\nfailed to fetch all extensions from the cluster. Use the '--show-extensions-error' flag to see more details.\n\n")
}

extensionsConfig := &KymaExtensionsConfig{
Expand Down

0 comments on commit e72df26

Please sign in to comment.