diff options
author | Ben Hilburn <ben.hilburn@ettus.com> | 2014-05-14 12:24:51 -0700 |
---|---|---|
committer | Ben Hilburn <ben.hilburn@ettus.com> | 2014-05-14 12:24:51 -0700 |
commit | cd8f7ed98ca687f0aab886e505950f7f1d176316 (patch) | |
tree | c157a4005026fbe0f5f47fc528324aab8b8e8971 | |
parent | 07d310ddd370d7b1cc276e44b409ecec4087eaf7 (diff) | |
parent | 06fb769714324c9c45d0bb8d3c4f9bd373a5d674 (diff) | |
download | uhd-cd8f7ed98ca687f0aab886e505950f7f1d176316.tar.gz uhd-cd8f7ed98ca687f0aab886e505950f7f1d176316.tar.bz2 uhd-cd8f7ed98ca687f0aab886e505950f7f1d176316.zip |
Merge branch 'maint'
-rw-r--r-- | host/lib/transport/nirio/rpc/rpc_client.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/transport/nirio/rpc/rpc_client.cpp b/host/lib/transport/nirio/rpc/rpc_client.cpp index f8dc26b50..0c4b8fe3c 100644 --- a/host/lib/transport/nirio/rpc/rpc_client.cpp +++ b/host/lib/transport/nirio/rpc/rpc_client.cpp @@ -104,6 +104,11 @@ rpc_client::rpc_client ( } catch (boost::exception&) { UHD_LOG << "rpc_client connection request cancelled/aborted." << std::endl; _exec_err.assign(boost::asio::error::connection_aborted, boost::asio::error::get_system_category()); +#if BOOST_VERSION < 104700 + } catch (std::exception& e) { + UHD_LOG << "rpc_client connection error: " << e.what() << std::endl; + _exec_err.assign(boost::asio::error::connection_aborted, boost::asio::error::get_system_category()); +#endif } } |