packages/hyprspace: elaborate on why opening a packet stream failed
This commit is contained in:
parent
819816c019
commit
80fadfae3c
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ func sendPacket(dst peer.ID, packet []byte, plen int) {
|
|||
|
||||
stream, err := node.NewStream(ctx, dst, p2p.Protocol)
|
||||
if err != nil {
|
||||
fmt.Println("[!] Failed to open stream to " + dst.String())
|
||||
fmt.Println("[!] Failed to open stream to " + dst.String() + ": " + err.Error())
|
||||
go p2p.Rediscover()
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue