We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd16790 commit 8c79a71Copy full SHA for 8c79a71
scripts/print_exported_headers.py
@@ -22,7 +22,11 @@
22
23
def run(command: List[str]) -> str:
24
"""Run subprocess and return its output."""
25
- result = subprocess.run(command, capture_output=True, check=True, cwd=BUCK_CWD)
+ try:
26
+ result = subprocess.run(command, capture_output=True, check=True, cwd=BUCK_CWD)
27
+ except subprocess.CalledProcessError as ex:
28
+ print(f"Subprocess failed. stdout: {ex.stdout}\nstderr: {ex.stderr}")
29
+ raise
30
return result.stdout.decode()
31
32
0 commit comments