Skip to content

Commit

Permalink
Do not mask error message from config generator further but pass it b…
Browse files Browse the repository at this point in the history
…ack to kustomize
  • Loading branch information
uvegla committed Nov 14, 2023
1 parent b076a14 commit 5ef36c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ func mainE(ctx context.Context) error {
cmd.SilenceUsage = true
err = cmd.Execute()
if err != nil {
return microerror.Mask(err)
_, err := fmt.Fprint(os.Stderr, microerror.Pretty(err, false))
if err != nil {
return err
}
os.Exit(1)
}
return nil
}
Expand Down

0 comments on commit 5ef36c5

Please sign in to comment.