bugfix
This commit is contained in:
parent
f6b9f305a3
commit
1f9c589c25
@ -52,6 +52,7 @@ async def grab_task_status(request, taskid):
|
|||||||
'status': d['status'],
|
'status': d['status'],
|
||||||
'output': d
|
'output': d
|
||||||
})
|
})
|
||||||
|
debug(f'grab_task_status({taskid}): {llm.upappid=}, {apiname=}, {userid=},{changed=}')
|
||||||
if changed.status == 'SUCCEEDED' and len(apinames) > 1:
|
if changed.status == 'SUCCEEDED' and len(apinames) > 1:
|
||||||
while True:
|
while True:
|
||||||
if changed.output.video:
|
if changed.output.video:
|
||||||
@ -64,7 +65,7 @@ async def grab_task_status(request, taskid):
|
|||||||
await asyncio.sleep(0.2)
|
await asyncio.sleep(0.2)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
exception(f'{e}')
|
exception(f'grab_task_status({taskid}): {e},{llm.name=}, {llm.upappid=}, {apiname=}, {userid=},{changed=}')
|
||||||
changed = {
|
changed = {
|
||||||
'status': 'FAILED',
|
'status': 'FAILED',
|
||||||
'output': {'status': 'FAILED', 'error': str(e)}
|
'output': {'status': 'FAILED', 'error': str(e)}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user