Change in osmo-trx[master]: UHDDevice.cpp uhd_device::open() uhd::usrp::multi_usrp::make() added ...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

d0gtail gerrit-no-reply at lists.osmocom.org
Fri Nov 30 21:14:37 UTC 2018


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 <dogtail at web.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181130/f162f751/attachment.htm>


More information about the gerrit-log mailing list