mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 01:40:21 +08:00
Send task error instead of raw exception for signal (#4150)
This commit is contained in:
committed by
Robert Nishihara
parent
c4aa90314d
commit
9950f63e8c
@@ -901,7 +901,7 @@ class Worker(object):
|
||||
if not self.actor_id.is_nil() and function_name == "__init__":
|
||||
self.mark_actor_init_failed(error)
|
||||
# Send signal with the error.
|
||||
ray_signal.send(ray_signal.ErrorSignal(error))
|
||||
ray_signal.send(ray_signal.ErrorSignal(str(failure_object)))
|
||||
|
||||
def _wait_for_and_process_task(self, task):
|
||||
"""Wait for a task to be ready and process the task.
|
||||
|
||||
Reference in New Issue
Block a user