fix(sysadmin): Better exec error message.

This commit is contained in:
2023-08-22 22:37:39 +03:00
parent 6b474f33aa
commit f70c0269c5
2 changed files with 12 additions and 2 deletions

View File

@@ -214,7 +214,7 @@ class LionBot(Bot):
exception.original = HandledException(exception.original)
except CheckFailure as e:
logger.debug(
f"Command failed check: {e}",
f"Command failed check: {e}: {e.args}",
extra={'action': 'BotError', 'with_ctx': True}
)
try: