bugfix
This commit is contained in:
parent
aa4a0b211c
commit
eb41047f7b
@ -271,11 +271,12 @@ class IndustrialSkillEngine:
|
||||
return
|
||||
try:
|
||||
ret = ''
|
||||
debug(f'函数调用:{d=}')
|
||||
if inspect.iscoroutinefunction(f):
|
||||
ret = await f(self.request, params_kw=d.params)
|
||||
else:
|
||||
ret = f(self.request, params_kw=d.params)
|
||||
debug(f'函数调用:{st=}, {ret=}{format_exc()}')
|
||||
debug(f'函数调用:{d=}, {ret=}')
|
||||
await self.write_output({
|
||||
"status": "SUCCEEDED",
|
||||
"content": ret
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user