From 05a9f3faa1ac4236705681cdf5f289267f4d3b9a Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Fri, 16 Aug 2024 08:50:17 -0400 Subject: [PATCH] Log a warning when there's an issue with IS_CHANGED. --- execution.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/execution.py b/execution.py index 1084980e..9278af35 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"]