Skip to content

Commit f85c3be

Browse files
Report the exit code for failed build-time executions. (#894)
Bug: dart-lang/sdk#56529
1 parent ca15803 commit f85c3be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/gn_run_binary.py

+2
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@
2222
try:
2323
subprocess.check_output(args, stderr=subprocess.STDOUT)
2424
except subprocess.CalledProcessError as ex:
25+
print("Command failed: " + ' '.join(args))
26+
print("exitCode: " + str(ex.returncode))
2527
print(ex.output.decode('utf-8', errors='replace'))
2628
sys.exit(ex.returncode)

0 commit comments

Comments
 (0)