From af430b6d156a4a800b88f5f97d40e6427a8486bc Mon Sep 17 00:00:00 2001 From: Brent Stapleton Date: Fri, 22 Nov 2019 14:23:30 -0800 Subject: rfnoc: graph: Add logging to resolver errors --- host/lib/rfnoc/graph.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/host/lib/rfnoc/graph.cpp b/host/lib/rfnoc/graph.cpp index 7dc72420c..f3977f79e 100644 --- a/host/lib/rfnoc/graph.cpp +++ b/host/lib/rfnoc/graph.cpp @@ -292,7 +292,12 @@ void graph_t::resolve_all_properties( // On current node, call local resolution. This may cause other // properties to become dirty. - node_accessor.resolve_props(current_node); + try { + node_accessor.resolve_props(current_node); + } catch (const uhd::resolve_error& ex) { + UHD_LOG_ERROR(LOG_ID, current_node->get_unique_id() + ": " + ex.what()); + throw; + } // Forward all edge props in all directions from current node. We make // sure to skip properties if the edge is flagged as -- cgit v1.2.3