Skip to content

Commit 65f9386

Browse files
authored
change order of debug and error logs (#232)
1 parent 4592142 commit 65f9386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ func Execute(version, date string) {
130130
err := cmd.Execute()
131131
if err != nil {
132132
err := beautifyUnknownAndMissingCommandsError(cmd, err)
133-
p.Error(err.Error())
134133
p.Debug(print.ErrorLevel, "execute command: %v", err)
134+
p.Error(err.Error())
135135
os.Exit(1)
136136
}
137137
}

0 commit comments

Comments
 (0)