Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
chore: adding more logs
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Paitrault <[email protected]>
  • Loading branch information
Freyskeyd committed Apr 3, 2024
1 parent 836c39a commit 7b34909
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions crates/topos-p2p/src/runtime/handle_event/gossipsub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ impl EventHandler<Box<GossipEvent>> for Runtime {
}

debug!(
"Received message({id}) from source {:?} on topic {:?} propagated by {propagated_by}",
source, topic
message_id = id.to_string(),
local_peer_id = self.local_peer_id.to_string(),
propagated_by = propagated_by.to_string(),
"Received message({id}) from source {source} on topic {:?} propagated by {propagated_by}",
topic
);

match topic {
Expand Down

0 comments on commit 7b34909

Please sign in to comment.