From 2c22b21025893ee1f4b5da5e6fce7f327e33602e Mon Sep 17 00:00:00 2001 From: cryptocode Date: Wed, 23 Jan 2019 22:43:28 +0100 Subject: [PATCH] Improved error message when unable to accept RPC connection (#1626) --- nano/node/rpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nano/node/rpc.cpp b/nano/node/rpc.cpp index 3ebbfb11..53401d15 100644 --- a/nano/node/rpc.cpp +++ b/nano/node/rpc.cpp @@ -130,7 +130,7 @@ void nano::rpc::accept () } else { - BOOST_LOG (this->node.log) << boost::str (boost::format ("Error accepting RPC connections: %1%") % ec); + BOOST_LOG (this->node.log) << boost::str (boost::format ("Error accepting RPC connections: %1% (%2%)") % ec.message () % ec.value ()); } }); }