Fix bug in ray.errors and update its default behavior (#5576)

This commit is contained in:
Mitchell Stern
2019-09-05 13:18:57 -07:00
committed by Philipp Moritz
parent edcc56ea01
commit ddadc18ef6
4 changed files with 31 additions and 20 deletions
+2 -2
View File
@@ -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)