mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 10:51:05 -05:00
Merge pull request #9 from pacnpal/alert-autofix-5
Potential fix for code scanning alert no. 5: Clear-text logging of sensitive information
This commit is contained in:
@@ -379,7 +379,7 @@ class Birthday(commands.Cog):
|
||||
if birthday_channel_id:
|
||||
channel = self.bot.get_channel(birthday_channel_id)
|
||||
if not channel: # If the set channel doesn't exist anymore
|
||||
logger.warning(f"Birthday channel {birthday_channel_id} not found in guild {ctx.guild.id}")
|
||||
logger.warning("Birthday channel not found in the guild")
|
||||
channel = ctx.channel
|
||||
else:
|
||||
channel = ctx.channel
|
||||
|
||||
Reference in New Issue
Block a user