cli: uppercase level to match logrus one

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/1128/head
CrazyMax 3 years ago
parent d611bbe609
commit 54a2a0c49f
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -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)

Loading…
Cancel
Save