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:
ttsou 2012-02-14 01:52:10 +00:00
parent b371ed54c7
commit 37720bebbc
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}