Skip to content

Commit

Permalink
Add printing err to STD out
Browse files Browse the repository at this point in the history
  • Loading branch information
joeybloggs authored and joeybloggs committed Nov 18, 2015
1 parent 1cc6dbd commit a552954
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +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" {
fmt.Println(err)
log.Fatal(err)
}
}
Expand Down

0 comments on commit a552954

Please sign in to comment.