<p>d0gtail has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12051">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">UHDDevice.cpp uhd_device::open() uhd::usrp::multi_usrp::make() added actual exception from uhd::key_error to extend debugging<br><br>Change-Id: Ic33f4068d40cac3221960634185b697e10288dd1<br>---<br>M Transceiver52M/device/uhd/UHDDevice.cpp<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/51/12051/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/Transceiver52M/device/uhd/UHDDevice.cpp b/Transceiver52M/device/uhd/UHDDevice.cpp</span><br><span>index 3db09a8..e0ea0c9 100644</span><br><span>--- a/Transceiver52M/device/uhd/UHDDevice.cpp</span><br><span>+++ b/Transceiver52M/device/uhd/UHDDevice.cpp</span><br><span>@@ -635,8 +635,9 @@</span><br><span>   LOGC(DDEV, INFO) << "Using discovered UHD device " << dev_addrs[0].to_string();</span><br><span>        try {</span><br><span>                usrp_dev = uhd::usrp::multi_usrp::make(addr);</span><br><span style="color: hsl(0, 100%, 40%);">-   } catch(...) {</span><br><span style="color: hsl(120, 100%, 40%);">+        } catch(uhd::key_error::exception &e) {</span><br><span>          LOGC(DDEV, ALERT) << "UHD make failed, device " << args;</span><br><span style="color: hsl(120, 100%, 40%);">+                LOGC(DDEV, ALERT) << "UHD make execption output:\n" << e.what();</span><br><span>               return -1;</span><br><span>   }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12051">change 12051</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/12051"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-trx </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ic33f4068d40cac3221960634185b697e10288dd1 </div>
<div style="display:none"> Gerrit-Change-Number: 12051 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: d0gtail <dogtail@web.de> </div>