0
0
Fork 0

Add log stating how many hibernated games were found

This commit is contained in:
Oliver-Akins 2021-01-07 13:23:55 -07:00
parent 07ad42280d
commit 31d19bfe2d

View file

@ -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);
};