Commit caf0dfcd by Oleksandr Barabash

health_check error now raises exception if any

parent 6c133675
......@@ -166,7 +166,8 @@ async def v1_health_check(_request: Request) -> Response:
status=HTTPStatus.OK,
content_type="application/json")
except Exception as e:
Log.e(TAG, "v1_health_check::error", e)
Log.e(TAG, f"v1_health_check::error:{e}", sys.exc_info())
raise
if key is None:
return Response(
status=HTTPStatus.INTERNAL_SERVER_ERROR,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment