mirror of
https://github.com/wassname/ray.git
synced 2026-07-03 15:27:36 +08:00
Fix bug in ray.errors and update its default behavior (#5576)
This commit is contained in:
committed by
Philipp Moritz
parent
edcc56ea01
commit
ddadc18ef6
@@ -1764,8 +1764,8 @@ def listen_error_messages_raylet(worker, task_error_queue, threads_stopped):
|
||||
# worker.error_message_pubsub_client.psubscribe("*")
|
||||
|
||||
try:
|
||||
# Get the exports that occurred before the call to subscribe.
|
||||
error_messages = ray.errors(include_cluster_errors=False)
|
||||
# Get the errors that occurred before the call to subscribe.
|
||||
error_messages = ray.errors()
|
||||
for error_message in error_messages:
|
||||
logger.error(error_message)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user