From 95449b7e97927528a6d46f2f181caf6feedd30f9 Mon Sep 17 00:00:00 2001 From: Christian Kuhtz Date: Sun, 14 Jul 2024 20:45:01 +0000 Subject: [PATCH] tweak --- api/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api.py b/api/api.py index 04e3521..964f9e5 100644 --- a/api/api.py +++ b/api/api.py @@ -88,5 +88,5 @@ def api_shutdown(): try: uvicorn.run(app='__main__:api', host=listener_host, port=listener_port, workers=listener_workers) except Exception as e: - print(f'Exception occured while running server: {e}.') + logger.critical(f'Exception occured while running server: {e}.') api_shutdown()