log ignored non slash command errors

This commit is contained in:
leander committed 2026-10-24 04:43:13 +02:00
1 parent 60b518f5e6
commit d68745f624
1 file changed
+1 -1
+1 -1
View File
@@ -80,7 +80,7 @@ class Errors(commands.Cog):
# Ignored errors
ignored_errors = (commands.CommandNotFound, commands.DisabledCommand)
if isinstance(error, ignored_errors):
self.bot.logger.info("Ignored error", error)
self.bot.logger.info(f"Ignored error: {error!r}")
return
# Errors that should prompt a help message