Don't print traceback when processing interrupted.
This commit is contained in:
parent
314e526c5c
commit
02ca1c67f8
|
@ -194,6 +194,9 @@ class PromptExecutor:
|
||||||
if valid:
|
if valid:
|
||||||
recursive_execute(self.server, prompt, self.outputs, x, extra_data, executed)
|
recursive_execute(self.server, prompt, self.outputs, x, extra_data, executed)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
if isinstance(e, comfy.model_management.InterruptProcessingException):
|
||||||
|
print("Processing interrupted")
|
||||||
|
else:
|
||||||
print(traceback.format_exc())
|
print(traceback.format_exc())
|
||||||
to_delete = []
|
to_delete = []
|
||||||
for o in self.outputs:
|
for o in self.outputs:
|
||||||
|
|
Loading…
Reference in New Issue