From d2b953ec89eaf6a8bdf1450295a4d46d653fb671 Mon Sep 17 00:00:00 2001 From: yHSJ Date: Sat, 16 Nov 2024 18:36:01 -0500 Subject: [PATCH] chore: add more logs --- dedicated/dedicated.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dedicated/dedicated.ts b/dedicated/dedicated.ts index 75ed49cb..6e62288a 100644 --- a/dedicated/dedicated.ts +++ b/dedicated/dedicated.ts @@ -127,6 +127,7 @@ global.suicide = async (player) => { // check for extraneous state utxos and cleanup try { + console.log("Checking head's utxo set for stale games..."); const response = await fetch(`${HYDRA_NODE}snapshot/utxo`); const data = response.json(); // Currently, we are just wiping the utxos after every game @@ -181,8 +182,8 @@ while (!done) { } console.log("Game finished."); - try { + console.log("Ending game. Marking game as 'Aborted'."); await fetch( "http://control-plane.hydra-doom.svc.cluster.local/end_game?id=a0", { method: "POST" },