Ivar Gaitan created BEAM-6325:
---------------------------------
Summary: Error message is printed as bytes when failing to
cross-compile
Key: BEAM-6325
URL: https://issues.apache.org/jira/browse/BEAM-6325
Project: Beam
Issue Type: Bug
Components: sdk-go
Reporter: Ivar Gaitan
Assignee: Robert Burke
In {{beam/runners/universal/runnerlib/compile.go}}:
If cross-compile fails in {{BuildWorkerBinary()}} the error message is printed
as bytes. This is because {{Cmd.CombinedOutput()}} returns a byte slice as its
output, which is then formatted as it's default value.
{{if out, err := cmd.CombinedOutput(); err != nil {}}
{{ return fmt.Errorf("failed to cross-compile %v: %v\n%v", program, err,
out)}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)