d0gtail has uploaded this change for review. ( https://gerrit.osmocom.org/12051


Change subject: UHDDevice.cpp uhd_device::open() uhd::usrp::multi_usrp::make() 
added actual exception from uhd::key_error to extend debugging
......................................................................

UHDDevice.cpp uhd_device::open() uhd::usrp::multi_usrp::make() added actual 
exception from uhd::key_error to extend debugging

Change-Id: Ic33f4068d40cac3221960634185b697e10288dd1
---
M Transceiver52M/device/uhd/UHDDevice.cpp
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/51/12051/1

diff --git a/Transceiver52M/device/uhd/UHDDevice.cpp 
b/Transceiver52M/device/uhd/UHDDevice.cpp
index 3db09a8..e0ea0c9 100644
--- a/Transceiver52M/device/uhd/UHDDevice.cpp
+++ b/Transceiver52M/device/uhd/UHDDevice.cpp
@@ -635,8 +635,9 @@
        LOGC(DDEV, INFO) << "Using discovered UHD device " << 
dev_addrs[0].to_string();
        try {
                usrp_dev = uhd::usrp::multi_usrp::make(addr);
-       } catch(...) {
+       } catch(uhd::key_error::exception &e) {
                LOGC(DDEV, ALERT) << "UHD make failed, device " << args;
+               LOGC(DDEV, ALERT) << "UHD make execption output:\n" << e.what();
                return -1;
        }


--
To view, visit https://gerrit.osmocom.org/12051
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic33f4068d40cac3221960634185b697e10288dd1
Gerrit-Change-Number: 12051
Gerrit-PatchSet: 1
Gerrit-Owner: d0gtail <[email protected]>

Reply via email to