Small improvement to network log line (#8811)

* Small improvement to network log line

* Use {:?} for the set_id
This commit is contained in:
Pierre Krieger
2021-05-14 16:31:03 +02:00
committed by GitHub
parent 3b1b339b80
commit d849110c6b
@@ -1765,7 +1765,7 @@ impl NetworkBehaviour for Notifications {
*c == connection && matches!(s, ConnectionState::Opening))
{
if !any_open {
trace!(target: "sub-libp2p", "External API <= Open({:?})", source);
trace!(target: "sub-libp2p", "External API <= Open({}, {:?})", source, set_id);
let event = NotificationsOut::CustomProtocolOpen {
peer_id: source,
set_id,