fix: add traceback.print_exc()
Some checks failed
black-action / runner / black formatter (push) Failing after -1s
Some checks failed
black-action / runner / black formatter (push) Failing after -1s
This commit is contained in:
parent
910ffe99c0
commit
767a7d34d8
@ -787,6 +787,7 @@ def run():
|
|||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
|
traceback.print_exc()
|
||||||
await bot.api.send_markdown_message(room.room_id, f"> {prompt}\n\n{e}")
|
await bot.api.send_markdown_message(room.room_id, f"> {prompt}\n\n{e}")
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user