mirror of
https://github.com/wassname/ray.git
synced 2026-07-12 00:49:18 +08:00
Push error to driver when monitor raises an exception. (#2834)
This commit is contained in:
committed by
Philipp Moritz
parent
753ba76141
commit
bd64c940e9
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user