Colin Adler
2023-10-06 11:31:53 -05:00
committed by GitHub
parent 2d2bea79a7
commit 03a7d2f70b
2 changed files with 9 additions and 3 deletions

View File

@ -229,6 +229,10 @@ func (s *ServerTailnet) watchAgentUpdates() {
err := s.conn.UpdateNodes(nodes, false)
if err != nil {
if xerrors.Is(err, tailnet.ErrConnClosed) {
s.logger.Warn(context.Background(), "tailnet conn closed, exiting watchAgentUpdates", slog.Error(err))
return
}
s.logger.Error(context.Background(), "update node in server tailnet", slog.Error(err))
return
}