Skip to content

Commit aea0717

Browse files
committed
refactor: fmt
Signed-off-by: machichima <[email protected]>
1 parent efa79d6 commit aea0717

File tree

1 file changed

+1
-3
lines changed
  • python/ray/dashboard/modules/job

1 file changed

+1
-3
lines changed

python/ray/dashboard/modules/job/sdk.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,9 +501,7 @@ async def tail_job_logs(self, job_id: str) -> AsyncIterator[str]:
501501
job_info = self.get_job_info(job_id)
502502
job_status = job_info.status
503503
except Exception as e:
504-
raise RuntimeError(
505-
f"Failed to get job status for {job_id}."
506-
) from e
504+
raise RuntimeError(f"Failed to get job status for {job_id}.") from e
507505

508506
if msg.type == aiohttp.WSMsgType.TEXT:
509507
yield msg.data

0 commit comments

Comments
 (0)