Skip to content

Commit

Permalink
chore: Add peer registered debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins committed Oct 24, 2023
1 parent 7250f0a commit 2e270e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions homestar-runtime/src/event_handler/swarm_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,12 @@ async fn handle_swarm_event<THandlerErr: fmt::Debug + Send, DB: Database>(
rendezvous::server::Event::DiscoverNotServed { enquirer, error } => {
warn!(peer_id=enquirer.to_string(), err=?error, "did not serve rendezvous discover request")
}
rendezvous::server::Event::PeerRegistered { peer, .. } => {
debug!(
peer_id = peer.to_string(),
"registered peer through rendezvous"
)
}
rendezvous::server::Event::PeerNotRegistered {
peer,
namespace,
Expand Down

0 comments on commit 2e270e3

Please sign in to comment.