fix: catch all keyboard exits when tailing trial logs
Previously some keyboard exits were not caught, resulting
in us not printing information about how to further look
up trial logs.
@@ -162,8 +162,8 @@ def logs(args: Namespace) -> None:
state_query.op.trials_by_pk(id=args.trial_id).state()
no_change_count = 0
- while True:
try:
+ while True:
# Poll for new logs every 100 ms.
time.sleep(0.1)
@@ -190,7 +190,6 @@ def logs(args: Namespace) -> None:
"green",
)
)
- break
@authentication_required
