From c543b92d3934812b6efd3d5864f7c1550a422451 Mon Sep 17 00:00:00 2001 From: extreme4all <40169115+extreme4all@users.noreply.github.com> Date: Sat, 3 Feb 2024 14:06:22 +0100 Subject: [PATCH] add extra logging --- api/app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/app.py b/api/app.py index 948de43..a62c7a3 100644 --- a/api/app.py +++ b/api/app.py @@ -69,7 +69,9 @@ async def manual_startup(secret: str): id, today = 0, date.today() hiscores = await req.get_prediction_data(id=id, limit=config.BATCH_AMOUNT) - id = hiscores[-1].get("id") + _highscores = hiscores[-1] + logger.info(_highscores) + id = _highscores.get("id") hiscores = pd.DataFrame(hiscores) if len(hiscores) == 0: