Skip to content

Commit

Permalink
Merge pull request #3 from phux/stderr
Browse files Browse the repository at this point in the history
also logging stderr output in case of error
  • Loading branch information
Phantas0s authored Aug 1, 2019
2 parents 4c4a184 + 119b2cf commit 54ddb5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/testomatic.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ func execCmd(cmdPath string, args []string) (*string, error) {
err := cmd.Run()
if err != nil {
fmt.Println(err)
fmt.Println(stderr.String())
}

result := out.String()
Expand Down

0 comments on commit 54ddb5d

Please sign in to comment.