mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 10:35:55 +08:00
Remove instances of 'raise Exception' (#7523)
This commit is contained in:
@@ -150,7 +150,7 @@ class ImportThread:
|
||||
# TODO(rkn): We may need to bring back the case of
|
||||
# fetching actor classes here.
|
||||
else:
|
||||
raise Exception("This code should be unreachable.")
|
||||
assert False, "This code should be unreachable."
|
||||
|
||||
def fetch_and_execute_function_to_run(self, key):
|
||||
"""Run on arbitrary function on the worker."""
|
||||
|
||||
Reference in New Issue
Block a user