Skip to content

Commit

Permalink
Merge pull request #25 from BananoCoin/V22dev2
Browse files Browse the repository at this point in the history
V22dev2
  • Loading branch information
coranos committed Oct 4, 2021
2 parents 34754dc + 19e04f3 commit ad1f47e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nano/node/bootstrap/bootstrap_frontier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void nano::frontier_req_client::run (nano::account const & start_account_a, uint
{
if (this_l->connection->node->config.logging.network_logging ())
{
this_l->connection->node->logger.try_log (boost::str (boost::format ("Error while sending bootstrap request %1%") % ec.message ()));
this_l->connection->node->logger.try_log (boost::str (boost::format ("Error while sending bootstrap request %1%, to %2%") % ec.message () % this_l->connection->channel->to_string ()));
}
}
},
Expand Down Expand Up @@ -206,7 +206,7 @@ void nano::frontier_req_client::received_frontier (boost::system::error_code con
{
if (connection->node->config.logging.network_logging ())
{
connection->node->logger.try_log (boost::str (boost::format ("Error while receiving frontier %1%") % ec.message ()));
connection->node->logger.try_log (boost::str (boost::format ("Error while receiving frontier %1%, to %2%") % ec.message () % connection->channel->to_string ()));
}
}
}
Expand Down Expand Up @@ -305,7 +305,7 @@ void nano::frontier_req_server::no_block_sent (boost::system::error_code const &
{
if (connection->node->config.logging.network_logging ())
{
connection->node->logger.try_log (boost::str (boost::format ("Error sending frontier finish: %1%") % ec.message ()));
connection->node->logger.try_log (boost::str (boost::format ("Error sending frontier finish: %1%, to %2%") % ec.message () % connection->socket->remote_endpoint ()));
}
}
}
Expand All @@ -321,7 +321,7 @@ void nano::frontier_req_server::sent_action (boost::system::error_code const & e
{
if (connection->node->config.logging.network_logging ())
{
connection->node->logger.try_log (boost::str (boost::format ("Error sending frontier pair: %1%") % ec.message ()));
connection->node->logger.try_log (boost::str (boost::format ("Error sending frontier pair: %1%, to %2%") % ec.message () % connection->socket->remote_endpoint ()));
}
}
}
Expand Down

0 comments on commit ad1f47e

Please sign in to comment.