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 authored and GitHub committed 2021-05-14 14:31:03 +00:00
1 parent 3b1b339b80
commit d849110c6b
1 file changed
+1 -1
@@ -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,