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.

Log a warning when there's an issue with IS_CHANGED.

comfyanonymous05a9f3faa1ac
diff --git a/execution.py b/execution.py
index 1084980e6..9278af35f 100644
--- a/execution.py
+++ b/execution.py
@@ -51,7 +51,8 @@ class IsChangedCache:
try:
is_changed = _map_node_over_list(class_def, input_data_all, "IS_CHANGED")
node["is_changed"] = [None if isinstance(x, ExecutionBlocker) else x for x in is_changed]
- except:
+ except Exception as e:
+ logging.warning("WARNING: {}".format(e))
node["is_changed"] = float("NaN")
finally:
self.is_changed[node_id] = node["is_changed"]