This commit is contained in:
yumoqing 2026-03-05 18:13:43 +08:00
parent bbf2474af5
commit a1a239f659

View File

@ -263,7 +263,11 @@ class IndustrialSkillEngine:
if f is None:
e = Exception(f'function({d.function} is not in env')
exception(f'{e}')
raise e
await self.write_output({
"status": "FAILED",
"error": f'{st=}, {e}'
})
return
try:
ret = ''
if inspect.iscoroutinefunction(f):