[core] Update the `ray.get` documentation to clarify when an exception gets raised for a list of object refs
Description
This bug highlighted a gap in the documentation: https://github.com/ray-project/ray/issues/47204
It's unclear when an error gets raised when one of the N tasks in a ray.get call fails. The expected behavior should be raising immediately any one of the tasks fails.
Link
https://docs.ray.io/en/latest/ray-core/api/doc/ray.get.html#ray.get
Exception – An exception is raised if the task that created the object or that created one of the objects raised an exception.
Correct behavior is when something fails it should immediately raise an exception...
@dentiny can you take this?
@dentiny can you take this?
Sure, seems a good opportunity to learn ray behavior :-) Let me know if I mis-understand.