Push error to driver when monitor raises an exception. (#2834)

This commit is contained in:
Robert Nishihara
2018-09-07 17:42:45 -07:00
committed by Philipp Moritz
parent 753ba76141
commit bd64c940e9
7 changed files with 55 additions and 8 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ def push_error_to_driver_through_redis(redis_client,
# Do everything in Python and through the Python Redis client instead
# of through the raylet.
error_data = ray.gcs_utils.construct_error_message(
error_type, message, time.time())
driver_id, error_type, message, time.time())
redis_client.execute_command(
"RAY.TABLE_APPEND", ray.gcs_utils.TablePrefix.ERROR_INFO,
ray.gcs_utils.TablePubsub.ERROR_INFO, driver_id, error_data)