mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 18:03:12 +00:00
chore: Update error handling to use logger.warning instead of logger.exception
This commit is contained in:
parent
54449e0af2
commit
c2c0f7e49e
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class ErrorListener(Cog):
|
|||
log_msg += " in DMs" if ctx.guild is None else f" | guild: {ctx.guild.name} "
|
||||
# if len(str(error)) > 80:
|
||||
# error = f"{str(error)[:80]}..."
|
||||
logger.exception(f"{log_msg} | FAILED: {error}")
|
||||
logger.warning(f"{log_msg} | FAILED: {error}")
|
||||
|
||||
@Cog.listener()
|
||||
async def on_command_error(self, ctx, error) -> None:
|
||||
|
|
Loading…
Reference in a new issue