Log a warning when there's an issue with IS_CHANGED.
This commit is contained in:
parent
86c5970ac0
commit
05a9f3faa1
|
@ -51,7 +51,8 @@ class IsChangedCache:
|
||||||
try:
|
try:
|
||||||
is_changed = _map_node_over_list(class_def, input_data_all, "IS_CHANGED")
|
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]
|
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")
|
node["is_changed"] = float("NaN")
|
||||||
finally:
|
finally:
|
||||||
self.is_changed[node_id] = node["is_changed"]
|
self.is_changed[node_id] = node["is_changed"]
|
||||||
|
|
Loading…
Reference in New Issue