This commit is contained in:
yumoqing 2026-03-17 17:37:17 +08:00
parent 9299d74db5
commit fb9d463dc3

View File

@ -12,6 +12,7 @@ Features:
- Query APIs for UI - Query APIs for UI
""" """
import asyncio import asyncio
from functools import partial
import yaml import yaml
from random import randint from random import randint
from appPublic.log import debug, exception, error, info from appPublic.log import debug, exception, error, info
@ -595,8 +596,10 @@ where instance_id=${instance_id}$
await sor.U('node_execution', { await sor.U('node_execution', {
'id': ne['id'], 'id': ne['id'],
'status': 'failed', 'status': 'failed',
'output': str(e),
'stopping_at': timestampstr() 'stopping_at': timestampstr()
}) })
exception(f'执行失败:{e}')
async def list_human_tasks(self, org_id, user_roles): async def list_human_tasks(self, org_id, user_roles):
env = ServerEnv() env = ServerEnv()