From 767a7d34d8dfffbbf51070cc601f8610c88aadd3 Mon Sep 17 00:00:00 2001 From: 0xMRTT <0xMRTT@proton.me> Date: Wed, 21 Jun 2023 11:03:17 +0200 Subject: [PATCH] fix: add traceback.print_exc() --- matrixai/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/matrixai/__init__.py b/matrixai/__init__.py index dcc7d2e..e4cc987 100644 --- a/matrixai/__init__.py +++ b/matrixai/__init__.py @@ -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: