summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/lib/usrp/dboard_manager.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard_manager.cpp b/host/lib/usrp/dboard_manager.cpp
index 816fba0c4..987f4d03c 100644
--- a/host/lib/usrp/dboard_manager.cpp
+++ b/host/lib/usrp/dboard_manager.cpp
@@ -202,7 +202,14 @@ dboard_manager_impl::dboard_manager_impl(
this->init(rx_dboard_id, tx_dboard_id, subtree);
}
catch(const std::exception &e){
- UHD_MSG(error) << "The daughterboard manager encountered a recoverable error in init" << std::endl << e.what();
+ UHD_MSG(error) << boost::format(
+ "The daughterboard manager encountered a recoverable error in init.\n"
+ "Loading the \"unknown\" dabugterboard implementations to continue.\n"
+ "The daughterboard cannot operate until this error is resolved.\n"
+ ) << e.what() << std::endl;
+ //clean up the stuff added by the call above
+ subtree->remove("rx_frontends");
+ subtree->remove("tx_frontends");
this->init(dboard_id_t::none(), dboard_id_t::none(), subtree);
}
}