From 31d19bfe2d31420ddce165246c180049cc4db58d Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Thu, 7 Jan 2021 13:23:55 -0700 Subject: [PATCH] Add log stating how many hibernated games were found --- server/src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/main.ts b/server/src/main.ts index 3f0aad2..22eb409 100644 --- a/server/src/main.ts +++ b/server/src/main.ts @@ -45,6 +45,7 @@ if (Validate.config(conf)) { .filter(g => g.endsWith(conf.datastores.filetype)) .map(f => f.replace(`\.${conf.datastores.filetype}`, ``)); + log.info(`Found ${hibernatedGames.length} hibernated games`); process.on(`uncaughtException`, processExit); process.on(`SIGINT`, processExit); };