From 7a99386b290cb95272502ce3c6645643a6541f35 Mon Sep 17 00:00:00 2001 From: Denys Fedoryshchenko Date: Tue, 29 Oct 2024 15:02:06 +0200 Subject: [PATCH] fix(main.py): Enable FastAPI debug As we are still actively developing, debug is useful for us Signed-off-by: Denys Fedoryshchenko --- api/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/main.py b/api/main.py index d5f0ca04..7154a71c 100644 --- a/api/main.py +++ b/api/main.py @@ -115,7 +115,7 @@ def all(self): metrics = Metrics() -app = FastAPI(lifespan=lifespan) +app = FastAPI(lifespan=lifespan, debug=True) db = Database(service=(os.getenv('MONGO_SERVICE') or 'mongodb://db:27017')) auth = Authentication(token_url="user/login") pubsub = None # pylint: disable=invalid-name