Skip to content

Commit

Permalink
Include stderr when retrieving docker logs (#1225)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahin authored and jessesuen committed Feb 26, 2019
1 parent 2b1d56e commit cde5cd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workflow/executor/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func (d *DockerExecutor) Logs(containerID string, path string) error {
}
defer util.Close(outfile)
cmd.Stdout = outfile
cmd.Stderr = outfile
err = cmd.Start()
if err != nil {
return errors.InternalWrapError(err)
Expand Down

0 comments on commit cde5cd3

Please sign in to comment.