Skip to content

Commit

Permalink
Remove error output when connection error
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis-tra committed Oct 22, 2022
1 parent 06ff7f9 commit 4184b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func (h *Host) HolePunch(ctx context.Context, addrInfo peer.AddrInfo) *HolePunch
// connect to the remote peer via relay
hpState.ConnectStartedAt = time.Now()
if err := h.Connect(ctx, addrInfo); err != nil {
h.logEntry(addrInfo.ID).WithError(err).Infoln("Error connecting to remote peer")
h.logEntry(addrInfo.ID).Infoln("Error connecting to remote peer")
hpState.ConnectEndedAt = time.Now()
hpState.Error = err.Error()
hpState.Outcome = pb.HolePunchOutcome_HOLE_PUNCH_OUTCOME_NO_CONNECTION
Expand Down

0 comments on commit 4184b7c

Please sign in to comment.