mirror of
https://github.com/vacp2p/nim-libp2p.git
synced 2025-03-01 16:40:32 +00:00
add peer ID to nil peer debug message
This commit is contained in:
parent
1dbf0e222b
commit
a3055cb24a
@ -36,7 +36,7 @@ method subscribeTopic*(f: FloodSub,
|
||||
|
||||
let peer = f.peers.getOrDefault(peerId)
|
||||
if peer == nil:
|
||||
debug "subscribeTopic on a nil peer!"
|
||||
debug "subscribeTopic on a nil peer!", peer = peerId
|
||||
return
|
||||
|
||||
if topic notin f.floodsub:
|
||||
|
Loading…
x
Reference in New Issue
Block a user