From 48efbffbc33ad49df9604e59e13bd779983aa3fe Mon Sep 17 00:00:00 2001 From: jackra1n <45038833+jackra1n@users.noreply.github.com> Date: Tue, 20 Feb 2024 13:58:45 +0100 Subject: [PATCH] Also show user and amount separately in the error log --- bot/cogs/karma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/cogs/karma.py b/bot/cogs/karma.py index c9983cb..8a57093 100644 --- a/bot/cogs/karma.py +++ b/bot/cogs/karma.py @@ -195,7 +195,7 @@ async def karma_donate(self, ctx: commands.Context, *args): logger.debug(f'Karma transfer params -> User: {user}, amount: {amount}') if user is None or amount is None: - logger.error(f'Could not find a user or amount in the provided arguments. args: {args}') + logger.error(f'Could not find a user or amount in the provided arguments. args: {args}; user: {user}; amount: {amount}') return await ctx.reply("Could not find a user or amount in the provided arguments.") embed = discord.Embed(color=0xf66045)