This commit is contained in:
parent
6e3123091a
commit
aeddaa6972
69 changed files with 3178 additions and 424 deletions
|
|
@ -211,8 +211,12 @@ class LocalController:
|
|||
time.monotonic() - started,
|
||||
)
|
||||
if check and result.returncode != 0:
|
||||
tail = (result.stderr or result.stdout).strip()[-1200:]
|
||||
raise GateError(f"{stage}: exit {result.returncode}: {tail}")
|
||||
stdout_tail = result.stdout.strip()[-600:]
|
||||
stderr_tail = result.stderr.strip()[-600:]
|
||||
raise GateError(
|
||||
f"{stage}: exit {result.returncode}: "
|
||||
f"stdout tail:\n{stdout_tail}\nstderr tail:\n{stderr_tail}"
|
||||
)
|
||||
return result
|
||||
|
||||
def start(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue