Skip to content

Commit 5960a2e

Browse files
committed
Also show stdout if command failed
Maybe the command output valuable information to it.
1 parent 0664108 commit 5960a2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haskell/private/workspace_utils.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def execute_or_fail_loudly(
2525
)
2626
if exec_result.return_code != 0:
2727
arguments = [_as_string(x) for x in arguments]
28-
fail("\n".join(["Command failed: " + " ".join(arguments), exec_result.stderr]))
28+
fail("\n".join(["Command failed: " + " ".join(arguments), "-- STDOUT --", exec_result.stdout, "-- STDERR --", exec_result.stderr]))
2929
return exec_result
3030

3131
def _as_string(v):

0 commit comments

Comments
 (0)