diff options
author | Kyomotoi <[email protected]> | 2023-02-04 23:49:26 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2023-02-04 23:49:26 +0800 |
commit | 8506b82847ab8f6deed2046ad5fc3edc9398fc64 (patch) | |
tree | d1e457d9090caf8866a126c732c8ae5e2d03cd25 /ATRI | |
parent | c0a0b896fe6f4c28cf871634f1fd243a5218eb30 (diff) | |
download | ATRI-8506b82847ab8f6deed2046ad5fc3edc9398fc64.tar.gz ATRI-8506b82847ab8f6deed2046ad5fc3edc9398fc64.tar.bz2 ATRI-8506b82847ab8f6deed2046ad5fc3edc9398fc64.zip |
🚸 优化报错提示
Diffstat (limited to 'ATRI')
-rw-r--r-- | ATRI/exceptions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ATRI/exceptions.py b/ATRI/exceptions.py index f5ee0f1..03159b9 100644 --- a/ATRI/exceptions.py +++ b/ATRI/exceptions.py @@ -126,6 +126,7 @@ async def _(bot: Bot, event, matcher: Matcher, exception: Optional[Exception]): msg = ( MessageBuilder("呜——出错了...请反馈维护者") + .text(f"来自: {matcher.module_name}") .text(f"信息: {prompt}") .text(f"追踪ID: {track_id}") ) |