catch exceptions on workers and pass them to the scheduler (#93)

This commit is contained in:
Robert Nishihara
2016-06-11 15:44:56 -07:00
committed by Philipp Moritz
parent 61a0014c00
commit 41539141af
8 changed files with 38 additions and 15 deletions
+6
View File
@@ -78,3 +78,9 @@ try:
varargs_and_kwargs_exception_thrown = False
except:
varargs_and_kwargs_exception_thrown = True
# test throwing an exception
@ray.remote([], [])
def throw_exception_fct():
raise Exception("Test function intentionally failed.")