summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLint Action <[email protected]>2023-05-11 06:58:45 +0000
committerLint Action <[email protected]>2023-05-11 06:58:45 +0000
commit98a5276ac1735be04bd2cb37a3a3674b8242152b (patch)
treea86c9b1b4e390bc8e1ef30c81559f0d771e33243
parentcf2033627b63e4a444ee8971fd05f3e88e45fe86 (diff)
downloadATRI-98a5276ac1735be04bd2cb37a3a3674b8242152b.tar.gz
ATRI-98a5276ac1735be04bd2cb37a3a3674b8242152b.tar.bz2
ATRI-98a5276ac1735be04bd2cb37a3a3674b8242152b.zip
:rotating_light: 自动进行代码格式化
-rw-r--r--ATRI/exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/exceptions.py b/ATRI/exceptions.py
index bc09ce6..e4d18c7 100644
--- a/ATRI/exceptions.py
+++ b/ATRI/exceptions.py
@@ -111,7 +111,7 @@ async def _(bot: Bot, event, matcher: Matcher, exception: Optional[Exception]):
return
try:
- prompt = exception.__class__.__name__
+ prompt = exception.__class__.__name__
track_id = _save_error(prompt, format_exc())
log.warning(f"Ignore Exception: {prompt}")
except BaseBotException as err: