diff --git a/python/ray/_private/worker.py b/python/ray/_private/worker.py index 42ad12a8192f..8b0f8be8cabf 100644 --- a/python/ray/_private/worker.py +++ b/python/ray/_private/worker.py @@ -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()