mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-11-04 14:16:57 +00:00
Fixed bad error handling that broke the queue
This commit is contained in:
parent
3246d8cf4d
commit
19641e423c
@ -1870,9 +1870,9 @@ def process_tasks(state, progress=gr.Progress()):
|
|||||||
try:
|
try:
|
||||||
ok = False
|
ok = False
|
||||||
status = next(iterator, "#")
|
status = next(iterator, "#")
|
||||||
|
ok = True
|
||||||
if status == "#":
|
if status == "#":
|
||||||
break
|
break
|
||||||
ok = True
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
_ , exc_value, exc_traceback = sys.exc_info()
|
_ , exc_value, exc_traceback = sys.exc_info()
|
||||||
raise exc_value.with_traceback(exc_traceback)
|
raise exc_value.with_traceback(exc_traceback)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user