mirror of https://github.com/Mai-with-u/MaiBot.git
Update docs/plugins/HandlerResult使用指南.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>pull/1215/head
parent
77995cb369
commit
6ed7ba1e92
|
|
@ -32,7 +32,7 @@ if results.all_continue_process():
|
||||||
|
|
||||||
# 获取失败的处理器
|
# 获取失败的处理器
|
||||||
failed_handlers = results.get_failed_handlers()
|
failed_handlers = results.get_failed_handlers()
|
||||||
for handler in failed.handlers:
|
for handler in failed_handlers:
|
||||||
print(f"处理器 {handler.handler_name} 失败: {handler.message}")
|
print(f"处理器 {handler.handler_name} 失败: {handler.message}")
|
||||||
|
|
||||||
# 获取停止处理的处理器
|
# 获取停止处理的处理器
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue