mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 19:17:01 +08:00
[api] Second round of 1.0 API changes: exceptions, num_return_vals (#10377)
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ class GlobalState:
|
||||
"""
|
||||
if (self.redis_client is None or self.redis_clients is None
|
||||
or self.global_state_accessor is None):
|
||||
raise ray.exceptions.RayConnectionError(
|
||||
raise ray.exceptions.RaySystemError(
|
||||
"Ray has not been started yet. You can start Ray with "
|
||||
"'ray.init()'.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user