Capture diagnostics when the Windows voice build fails

This commit is contained in:
Benjamin Carlsson
2026-09-10 21:09:39 -07:00
parent cfa72fd776
commit 4c533a602e
+3
View File
@@ -69,6 +69,9 @@ def main():
diagnose()
time.sleep(1)
reader.join()
if process.returncode and not captured:
print("Bazel command failed; capturing diagnostics", flush=True)
diagnose()
return process.returncode