Skip to content

Commit

Permalink
[Core] Update documentation on ray.get on exception behavior (#47730)
Browse files Browse the repository at this point in the history
Signed-off-by: dentiny <dentinyhao@gmail.com>
  • Loading branch information
dentiny authored Sep 19, 2024
1 parent b0828fb commit 5f69744
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/ray/_private/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2636,8 +2636,9 @@ def get(
Raises:
GetTimeoutError: A GetTimeoutError is raised if a timeout is set and
the get takes longer than timeout to return.
Exception: An exception is raised if the task that created the object
or that created one of the objects raised an exception.
Exception: An exception is raised immediately if any task that created
the object or that created one of the objects raised an exception,
without waiting for the remaining ones to finish.
"""
worker = global_worker
worker.check_connected()
Expand Down

0 comments on commit 5f69744

Please sign in to comment.