From 4b82e92d15c2e92735c67fc25865fff4b6c5eda8 Mon Sep 17 00:00:00 2001 From: Leander Furumo Date: Fri, 23 Oct 2026 21:30:18 +0200 Subject: [PATCH] fix logging error on every ignored prefix command error Co-Authored-By: Claude Opus 5.5 --- bot/src/cogs/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/src/cogs/errors.py b/bot/src/cogs/errors.py index 9edba05..a39f900 100644 --- a/bot/src/cogs/errors.py +++ b/bot/src/cogs/errors.py @@ -80,7 +80,7 @@ class Errors(commands.Cog): # Ignored errors ignored_errors = (commands.CommandNotFound, commands.DisabledCommand, commands.CheckFailure) 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