Browse Source

Merge branch 'master' into peercoin

peercoin
Intel 11 years ago
parent
commit
79712eacb0
  1. 5
      src/server/poolserver/Stratum/Client.cpp

5
src/server/poolserver/Stratum/Client.cpp

@ -12,6 +12,7 @@ namespace Stratum @@ -12,6 +12,7 @@ namespace Stratum
{
bool Client::Start()
{
try {
// Get IP
tcp::endpoint remote_ep = _socket.remote_endpoint();
address remote_ad = remote_ep.address();
@ -25,6 +26,10 @@ namespace Stratum @@ -25,6 +26,10 @@ namespace Stratum
// Start reading socket
StartRead();
} catch (std::exception& e) {
sLog.Error(LOG_SERVER, "Exception caught while accepting client: %s", e.what());
return false;
}
return true;
}

Loading…
Cancel
Save