packages/hyprspace: elaborate on why opening a packet stream failed

This commit is contained in:
Max Headroom 2023-10-22 22:59:47 +02:00
parent 819816c019
commit 80fadfae3c

View file

@ -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
}