Skip to content

Commit

Permalink
Also show user and amount separately in the error log
Browse files Browse the repository at this point in the history
  • Loading branch information
jackra1n committed Feb 20, 2024
1 parent bb060d8 commit 48efbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/cogs/karma.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 48efbff

Please sign in to comment.