fix: add traceback.print_exc()
Some checks failed
black-action / runner / black formatter (push) Failing after -1s

This commit is contained in:
0xMRTT 2023-06-21 11:03:17 +02:00
parent 910ffe99c0
commit 767a7d34d8
Signed by: 0xMRTT
GPG Key ID: 910B287304120902

View File

@ -787,6 +787,7 @@ def run():
except Exception as e:
print(e)
traceback.print_exc()
await bot.api.send_markdown_message(room.room_id, f"> {prompt}\n\n{e}")
else: