From 7bf80b6b227a85e64677210a7ffb896b441de04b Mon Sep 17 00:00:00 2001 From: Johann Schleier-Smith Date: Fri, 10 Feb 2017 21:05:05 -0800 Subject: [PATCH] bug fix on printing exception traceback (#268) --- python/ray/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ray/worker.py b/python/ray/worker.py index 1b98bdd3b..43c7d065e 100644 --- a/python/ray/worker.py +++ b/python/ray/worker.py @@ -932,7 +932,7 @@ def custom_excepthook(type, value, tb): global_worker.redis_client.hmset(b"Drivers:" + global_worker.worker_id, {"exception": error_message}) # Call the normal excepthook. - normal_excepthook(type, value, traceback) + normal_excepthook(type, value, tb) sys.excepthook = custom_excepthook def print_error_messages(worker):