fix: more changes to logging

This commit is contained in:
Marius Begby committed 2023-08-26 13:59:48 +02:00
1 parent 7ef666f03d
commit 9d9087d4c3
39 files changed
+403 -260

No files matched your search

+2 -2
View File
@@ -90,10 +90,10 @@ module.exports = {
break;
}
logger.debug(`[Shard ${client.shard.ids[0]}] Fetched shardInfo from each shard.`);
logger.debug('Fetched shardInfo from each shard.');
})
.catch((error) => {
logger.error(error, `[Shard ${client.shard.ids[0]}] Failed to fetch client values from shards.`);
logger.error(error, 'Failed to fetch client values from shards.');
});
const shardCount = shardInfoList.length;