Skip to content

Commit

Permalink
cli: uppercase level to match logrus one
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed May 15, 2022
1 parent 681092a commit c3247f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/buildx/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ func main() {
s.Print(cmd.Err())
}
if debug.IsEnabled() {
fmt.Fprintf(cmd.Err(), "error: %+v", stack.Formatter(err))
fmt.Fprintf(cmd.Err(), "ERROR: %+v", stack.Formatter(err))
} else {
fmt.Fprintf(cmd.Err(), "error: %v\n", err)
fmt.Fprintf(cmd.Err(), "ERROR: %v\n", err)
}

os.Exit(1)
Expand Down

0 comments on commit c3247f3

Please sign in to comment.