Remove debug logging from Hytale player detection
All checks were successful
Deploy GSM / deploy (push) Successful in 28s

This commit is contained in:
2026-01-15 14:25:45 +01:00
parent df4200d425
commit 4b74010ccb

View File

@@ -655,7 +655,6 @@ export async function getHytalePlayers(server) {
// Find the most recent log file
const logFileResult = await ssh.execCommand(`ls -t ${HYTALE_LOGS_PATH}/*.log 2>/dev/null | head -1`);
if (!logFileResult.stdout.trim()) {
console.log('[Hytale] No log file found');
return { online: 0, players: [] };
}
@@ -688,7 +687,6 @@ export async function getHytalePlayers(server) {
}
const playerList = Array.from(players.values());
console.log(`[Hytale] Found ${playerList.length} players: ${playerList.join(', ') || 'none'}`);
return { online: playerList.length, players: playerList };
} catch (err) {
console.error(`[Hytale] Error getting players:`, err.message);