Browse Source

even more diagnostics

cl-refactor
arkpar 10 years ago
parent
commit
f3850a5e8a
  1. 11
      libethereum/EthereumHost.cpp

11
libethereum/EthereumHost.cpp

@ -317,8 +317,15 @@ void EthereumHost::onPeerTransactions(std::shared_ptr<EthereumPeer> _peer, RLP c
void EthereumHost::onPeerAborting()
{
Guard l(x_sync);
if (m_sync)
m_sync->onPeerAborting();
try
{
if (m_sync)
m_sync->onPeerAborting();
}
catch (Exception&)
{
cwarn << "Exception on peer destruciton: " << boost::current_exception_diagnostic_information();
}
}
bool EthereumHost::isSyncing() const

Loading…
Cancel
Save