Improved error message when unable to accept RPC connection (#1626)

This commit is contained in:
cryptocode 2019-01-23 22:43:28 +01:00 committed by Roy Keene
commit 2c22b21025

View file

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