transceiver, uhd: display device information on make failure
The failure "UHD make failed" implies that a suitable device was found, but construction failed. Output the the found target device information along with message. Signed-off-by: Thomas Tsou <ttsou@vt.edu> git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3181 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
parent
b371ed54c7
commit
37720bebbc
|
@ -440,7 +440,7 @@ bool uhd_device::open()
|
|||
try {
|
||||
usrp_dev = uhd::usrp::multi_usrp::make(dev_addrs[0]);
|
||||
} catch(...) {
|
||||
LOG(ALERT) << "UHD make failed";
|
||||
LOG(ALARM) << "UHD make failed, device " << dev_addrs[0].to_string();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue