gen-manifests: print errors on stderr
This commit is contained in:
parent
78a96a5414
commit
6e4a55cf9e
1 changed files with 2 additions and 2 deletions
|
|
@ -400,9 +400,9 @@ func main() {
|
|||
errs := wq.wait()
|
||||
exit := 0
|
||||
if len(errs) > 0 {
|
||||
fmt.Printf("Encountered %d errors:\n", len(errs))
|
||||
fmt.Fprintf(os.Stderr, "Encountered %d errors:\n", len(errs))
|
||||
for idx, err := range errs {
|
||||
fmt.Printf("%3d: %s\n", idx, err.Error())
|
||||
fmt.Fprintf(os.Stderr, "%3d: %s\n", idx, err.Error())
|
||||
}
|
||||
exit = 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue