aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/free.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bot/cogs/free.py b/bot/cogs/free.py
index 0880cdd25..b8e9f65d0 100644
--- a/bot/cogs/free.py
+++ b/bot/cogs/free.py
@@ -115,7 +115,10 @@ class Free:
# reset cooldown so second invocation
# doesn't bring us back here.
ctx.command.reset_cooldown(ctx)
- await ctx.invoke(ctx.command)
+ # return to avoid needlessly logging the error
+ return await ctx.invoke(ctx.command)
+
+ log.error(error) # Don't ignore other errors
def setup(bot):