Skip to content

Commit 07a7550

Browse files
debug(dso-7nos): add stderr logging to _run_acli for CI diagnostics
Print ACLI stderr before re-raising CalledProcessError so CI logs show the actual error message from the Go binary. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 02fd8de commit 07a7550

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

plugins/dso/scripts/acli-integration.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,12 @@ def _run_acli(
7373
delay = 2 ** (attempt + 1) # 2s, 4s
7474
time.sleep(delay)
7575

76-
# All attempts exhausted — re-raise the last error
76+
# All attempts exhausted — include stderr in the error message for debugging
7777
assert last_error is not None
78+
if last_error.stderr:
79+
import sys
80+
81+
print(f"ACLI stderr: {last_error.stderr.strip()}", file=sys.stderr)
7882
raise last_error
7983

8084

0 commit comments

Comments
 (0)