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:
|
||||
ok = False
|
||||
status = next(iterator, "#")
|
||||
ok = True
|
||||
if status == "#":
|
||||
break
|
||||
ok = True
|
||||
except Exception as e:
|
||||
_ , exc_value, exc_traceback = sys.exc_info()
|
||||
raise exc_value.with_traceback(exc_traceback)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user