Skip to content

Commit

Permalink
Improved generateUniqueBotNickname debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Chomp committed Dec 27, 2024
1 parent 60d6bb1 commit 0d2171a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/src/services/BotNameService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0d2171a

Please sign in to comment.