From c1a6fa838fcbd6b43cc79ea21f533e66c4888497 Mon Sep 17 00:00:00 2001 From: NeKz Date: Sun, 22 Oct 2023 20:13:37 +0200 Subject: [PATCH] Debug demo info --- src/server/tasks/board.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/tasks/board.ts b/src/server/tasks/board.ts index 5eee48f..2849c16 100644 --- a/src/server/tasks/board.ts +++ b/src/server/tasks/board.ts @@ -108,6 +108,8 @@ const checkChangelogUpdates = async () => { const demoInfo = await getDemoInfo(filePath, { isBoardDemo: true }); + console.dir({ demoInfo }); + if (demoInfo === null || typeof demoInfo === 'string') { logger.error('Invalid demo', demoInfo); await fileCleanup();