diff options
author | 2019-12-12 12:59:39 +1000 | |
---|---|---|
committer | 2019-12-12 12:59:39 +1000 | |
commit | ff2e152642d1d586553357758aa9bdb8c3dd1cd9 (patch) | |
tree | 08796f8a937a5628e72f6748828663097691fb25 | |
parent | Use 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.py | 2 |
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: |