Skip to content

Commit

Permalink
log output
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwh committed Sep 6, 2024
1 parent 3d8cee4 commit 267f5e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions infra/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ def main():
print(f"Error running command {e.cmd}")
if i < retries - 1:
print("Retrying... %d/%d" % (i + 1, retries))
else:
print("Retries exhausted. Raising error.")
print(f"Error running command {e.cmd}")
print(f"Output: {e.output}")
raise
else:
print("Job finished with no error.")
break
Expand Down

0 comments on commit 267f5e0

Please sign in to comment.