Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
pinpox committed Aug 27, 2023
1 parent 5ea0e1c commit 698fb90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func unmarshallFromCmd(cmd *exec.Cmd, out interface{}) error {

err = cmd.Run()
if err != nil {
log.Println(stdErr.String())
log.Printf("Error occured while running '%s': %s\n", cmd.String(), stdErr.String())
return err
}

Expand Down

0 comments on commit 698fb90

Please sign in to comment.