aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2019-12-12 12:59:39 +1000
committerGravatar scragly <[email protected]>2019-12-12 12:59:39 +1000
commitff2e152642d1d586553357758aa9bdb8c3dd1cd9 (patch)
tree08796f8a937a5628e72f6748828663097691fb25
parentUse error_embed for errors, tidy code, show cmd signature for user errors. (diff)
Add exc_info to log.exception to display traceback.
-rw-r--r--bot/seasons/evergreen/error_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/error_handler.py b/bot/seasons/evergreen/error_handler.py
index cf6dc087..8e7cc8d3 100644
--- a/bot/seasons/evergreen/error_handler.py
+++ b/bot/seasons/evergreen/error_handler.py
@@ -97,7 +97,7 @@ class CommandErrorHandler(commands.Cog):
await ctx.send(embed=self.error_embed("You are not authorized to use this command.", NEGATIVE_REPLIES))
return
- log.exception(f"Unhandled command error: {str(error)}")
+ log.exception(f"Unhandled command error: {str(error)}", exc_info=error)
def setup(bot: commands.Bot) -> None: