Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
02ca1c67
Commit
02ca1c67
authored
May 09, 2023
by
comfyanonymous
Browse files
Don't print traceback when processing interrupted.
parent
314e526c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
execution.py
execution.py
+4
-1
No files found.
execution.py
View file @
02ca1c67
...
@@ -194,7 +194,10 @@ class PromptExecutor:
...
@@ -194,7 +194,10 @@ 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
:
print
(
traceback
.
format_exc
())
if
isinstance
(
e
,
comfy
.
model_management
.
InterruptProcessingException
):
print
(
"Processing interrupted"
)
else
:
print
(
traceback
.
format_exc
())
to_delete
=
[]
to_delete
=
[]
for
o
in
self
.
outputs
:
for
o
in
self
.
outputs
:
if
(
o
not
in
current_outputs
)
and
(
o
not
in
executed
):
if
(
o
not
in
current_outputs
)
and
(
o
not
in
executed
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment