Skip to content

Commit

Permalink
log fatal when bad run
Browse files Browse the repository at this point in the history
  • Loading branch information
joeybloggs authored and joeybloggs committed Nov 18, 2015
1 parent 663e01e commit 1cc6dbd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ func executeCmd(command string, args ...string) {
// go generate command will fail when no generate command find.
if err != nil {
if err.Error() != "exit status 1" {
log.Println(err)
log.Fatal(err)
}
// log.Fatal(os.Stderr, "Error waiting for Cmd", err)
}
}

0 comments on commit 1cc6dbd

Please sign in to comment.