fix(utils): panic on ping logic

This commit is contained in:
nullcat committed 2026-05-29 14:31:32 +08:00
1 parent f97540b8d0
commit 4dde0942ce
1 file changed
+1
+1
View File
@@ -121,6 +121,7 @@ func peerConnectivityLogic(ctx context.Context, lc *local.Client, relativePeers
peerInfo, err := lc.WhoIs(ctx, peer.String())
if err != nil {
loLog.Warn("failed to get peer info", "err", err)
continue
} else {
loLog = loLog.With("name", peerInfo.Node.ComputedName)
}