Skip to content

Commit

Permalink
Merge pull request #75 from chainbound/chore/add-trace
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Bostoen authored Mar 7, 2024
2 parents 603f29d + a68270a commit ed424a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions msg-socket/src/pub/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ impl<Io: AsyncRead + AsyncWrite + Unpin> SubscriberSession<Io> {
// Generate the wire message and increment the sequence number
self.pending_egress = Some(msg.into_wire(self.seq));
self.seq = self.seq.wrapping_add(1);
} else {
trace!(
topic = msg.topic(),
"Message does not match topic filter, discarding"
);
}
}

Expand Down

0 comments on commit ed424a0

Please sign in to comment.