diff options
Diffstat (limited to 'host/lib/rfnoc/rfnoc_graph.cpp')
-rw-r--r-- | host/lib/rfnoc/rfnoc_graph.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/rfnoc/rfnoc_graph.cpp b/host/lib/rfnoc/rfnoc_graph.cpp index f820a6960..c327fb124 100644 --- a/host/lib/rfnoc/rfnoc_graph.cpp +++ b/host/lib/rfnoc/rfnoc_graph.cpp @@ -60,7 +60,11 @@ public: _block_registry->init_props(); _init_sep_map(); _init_static_connections(); + } catch (const std::exception& ex) { + UHD_LOG_ERROR(LOG_ID, "Caught exception while initializing graph: " << ex.what()); + throw uhd::runtime_error("Failure to create rfnoc_graph."); } catch (...) { + UHD_LOG_ERROR(LOG_ID, "Caught unknown exception while initializing graph!"); throw uhd::runtime_error("Failure to create rfnoc_graph."); } |