mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 19:40:20 +03:00
Add more logs to firmware build
This commit is contained in:
parent
06a024e3e9
commit
8e73d25f1c
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ if not os.path.isfile(path):
|
||||||
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
output, error = proc.communicate()
|
output, error = proc.communicate()
|
||||||
if proc.returncode == 0:
|
if proc.returncode == 0:
|
||||||
file(outpath, "a").write(output + error)
|
file(outpath, "a").write("\n".join(cmd) + output + error)
|
||||||
else:
|
else:
|
||||||
file(errpath, "w").write(output + error)
|
file(errpath, "w").write(output + error)
|
||||||
exit(COMPILATION_ERROR)
|
exit(COMPILATION_ERROR)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue