This commit is contained in:
2026-01-29 16:53:54 +08:00
parent 8cff2b1632
commit a0c2c712dc
3 changed files with 3 additions and 92 deletions
+1 -1
View File
@@ -213,9 +213,9 @@ class Jx3ApiPlugin(Star):
return
try:
event.stop_event()
async for ret in self._call_with_auto_args(handler, event, args):
yield ret
event.stop_event()
except Exception as e:
logger.exception(f"指令执行失败: {cmd}, error={e}")
yield event.plain_result("参数错误或执行失败")