Fix node graph type errors not being shown (#1917)

* Fix node graph type errors not being shown

* Add newline

* Remove unnecessary memo node implementation

---------

Co-authored-by: hypercube <0hypercube@gmail.com>
This commit is contained in:
Dennis Kobert
2024-08-09 21:12:31 +02:00
committed by GitHub
parent f89a8447a6
commit f6ffa45a81
2 changed files with 6 additions and 1 deletions

View File

@@ -611,6 +611,12 @@ impl NodeGraphExecutor {
document.network_interface.document_metadata_mut().update_from_monitor(HashMap::new(), HashMap::new());
log::trace!("{e}");
responses.add(NodeGraphMessage::UpdateTypes {
resolved_types: Default::default(),
node_graph_errors,
});
responses.add(NodeGraphMessage::SendGraph);
return Err("Node graph evaluation failed".to_string());
}
Ok(result) => result,