Skip to content

Commit

Permalink
fix panic on top-level log (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
wagoodman authored Aug 6, 2020
1 parent f855a38 commit dc8dfc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func init() {

func Execute() {
if err := rootCmd.Execute(); err != nil {
log.Errorf(err.Error())
fmt.Fprintln(os.Stderr, err.Error())
os.Exit(1)
}
}
Expand Down

0 comments on commit dc8dfc8

Please # to comment.