0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 21:30:43 -05:00

Improved generateUniqueBotNickname debug logging

This commit is contained in:
Chomp 2024-12-27 12:18:15 +00:00
parent 60d6bb1224
commit 0d2171a600

View File

@ -94,7 +94,7 @@ export class BotNameService {
// 5 attempts to generate a name, pool probably isn't big enough
const genericName = `${botGenerationDetails.side} ${this.randomUtil.getInt(100000, 999999)}`;
this.logger.debug(
`Failed to find unique name for: ${name} after 5 attempts, using: ${genericName}`,
`Failed to find unique name for: ${botRole} ${botGenerationDetails.side} after 5 attempts, using: ${genericName}`,
);
return genericName;
}