buildkite-builder icon indicating copy to clipboard operation
buildkite-builder copied to clipboard

Add better error handling to `buildkite-agent` calls

Open technicalpickles opened this issue 3 years ago • 0 comments

Over in https://github.com/Gusto/buildkite-builder/issues/64 @muhlba91 reported the upload step failing, but not including any more details.

Under the hood, it's using system which prints the output to stdout, and returns true/false. It'd be nice to have the stdout/stderr when the command fails to figure out what is failing and why.

technicalpickles avatar Jul 28 '22 18:07 technicalpickles