Skip to content

Commit

Permalink
Log a warning when there's an issue with IS_CHANGED.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyanonymous committed Aug 16, 2024
1 parent 86c5970 commit 05a9f3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ def get(self, node_id):
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"]
Expand Down

0 comments on commit 05a9f3f

Please sign in to comment.