[serve] Router fault tolerance (#8008)

This commit is contained in:
Edward Oakes
2020-04-19 11:04:06 -05:00
committed by GitHub
parent 165a86f1ab
commit da296bf8c5
7 changed files with 154 additions and 59 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ class HTTPProxy:
if not isinstance(result, ray.exceptions.RayActorError):
await Response(result).send(scope, receive, send)
break
logger.warning("Got RayActorError:", str(result))
logger.warning("Got RayActorError: {}".format(str(result)))
await asyncio.sleep(0.1)
except Exception as e:
error_message = "Internal Error. Traceback: {}.".format(e)