Skip to content

Commit df5df50

Browse files
authored
Fix printing of container logs (#559)
* Fix printing of container logs * Use normal print
1 parent 60dd637 commit df5df50

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

runner.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1438,4 +1438,8 @@ def run(self):
14381438
except BaseException as e:
14391439
error_helpers.log_error('Base exception occured in runner.py: ', e, successful_run_id)
14401440
finally:
1441-
if args.print_logs: print("Container logs:", runner.get_logs())
1441+
if args.print_logs:
1442+
for container_id, std_out in runner.get_logs().items():
1443+
print(f"Container logs of '{container_id}':")
1444+
print(std_out)
1445+
print(f"\n-----------------------------\n")

0 commit comments

Comments
 (0)