Browse Source

fix missed error-skipping

JackDoan 2 months ago
parent
commit
9bf9fb14bc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      handshake_manager.go

+ 1 - 0
handshake_manager.go

@@ -292,6 +292,7 @@ func (hm *HandshakeManager) handleOutbound(vpnIp netip.Addr, lighthouseTriggered
 					idx, err := AddRelay(hm.l, relayHostInfo, hm.mainHostMap, vpnIp, nil, TerminalType, Requested)
 					if err != nil {
 						hostinfo.logger(hm.l).WithField("relay", relay.String()).WithError(err).Info("Failed to add relay to hostmap")
+						continue
 					}
 
 					m := NebulaControl{