Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Rename exception message field

space-nuko03f2d0a76472
diff --git a/execution.py b/execution.py
index 52c264b0f..1a9a1ff73 100644
--- a/execution.py
+++ b/execution.py
@@ -171,7 +171,7 @@ def recursive_execute(server, prompt, outputs, current_item, extra_data, execute
error_details = {
"node_id": unique_id,
- "message": str(ex),
+ "exception_message": str(ex),
"exception_type": exception_type,
"traceback": traceback.format_tb(tb),
"current_inputs": input_data_formatted,
@@ -282,7 +282,7 @@ class PromptExecutor:
"node_type": class_type,
"executed": list(executed),
- "message": error["message"],
+ "exception_message": error["exception_message"],
"exception_type": error["exception_type"],
"traceback": error["traceback"],
"current_inputs": error["current_inputs"],