"...git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "3691291ae1681d2950f5122011cc11c24d8c7ed0"
Commit 602095f6 authored by comfyanonymous's avatar comfyanonymous
Browse files

Send execution_error message on websocket on execution exception.

parent f7c0f75d
...@@ -185,7 +185,11 @@ class PromptExecutor: ...@@ -185,7 +185,11 @@ class PromptExecutor:
if isinstance(e, comfy.model_management.InterruptProcessingException): if isinstance(e, comfy.model_management.InterruptProcessingException):
print("Processing interrupted") print("Processing interrupted")
else: else:
print(traceback.format_exc()) message = str(traceback.format_exc())
print(message)
if self.server.client_id is not None:
self.server.send_sync("execution_error", { "message": message }, self.server.client_id)
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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment