aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Transceiver52M/device/uhd/UHDDevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Transceiver52M/device/uhd/UHDDevice.cpp b/Transceiver52M/device/uhd/UHDDevice.cpp
index 3db09a8..765150f 100644
--- a/Transceiver52M/device/uhd/UHDDevice.cpp
+++ b/Transceiver52M/device/uhd/UHDDevice.cpp
@@ -635,8 +635,8 @@ int uhd_device::open(const std::string &args, int ref, bool swap_channels)
LOGC(DDEV, INFO) << "Using discovered UHD device " << dev_addrs[0].to_string();
try {
usrp_dev = uhd::usrp::multi_usrp::make(addr);
- } catch(...) {
- LOGC(DDEV, ALERT) << "UHD make failed, device " << args;
+ } catch(uhd::key_error::exception &e) {
+ LOGC(DDEV, ALERT) << "UHD make failed, device " << args << ", exception:\n" << e.what();
return -1;
}