mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-13 07:50:00 +08:00
执行_run_script添加try
This commit is contained in:
@@ -109,6 +109,7 @@ class logger:
|
||||
user_id: Optional[int] = None,
|
||||
group_id: Optional[int] = None,
|
||||
target: Optional[Any] = None,
|
||||
e: Optional[Exception] = None,
|
||||
):
|
||||
template = cls.__parser_template(info, command, user_id, group_id, target)
|
||||
logger_.opt(colors=True).debug(template)
|
||||
|
||||
Reference in New Issue
Block a user