diff options
author | Brent Stapleton <brent.stapleton@ettus.com> | 2019-11-22 14:23:30 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-27 21:44:58 -0800 |
commit | af430b6d156a4a800b88f5f97d40e6427a8486bc (patch) | |
tree | 621d80e3774db004e9d7c072a1b9f399c269077c /host | |
parent | d64ca1ddd46782839ed81aa2306973056025333e (diff) | |
download | uhd-af430b6d156a4a800b88f5f97d40e6427a8486bc.tar.gz uhd-af430b6d156a4a800b88f5f97d40e6427a8486bc.tar.bz2 uhd-af430b6d156a4a800b88f5f97d40e6427a8486bc.zip |
rfnoc: graph: Add logging to resolver errors
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/rfnoc/graph.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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 |