From 50cd5d316e4c138ca8e1eb6ea30930a7c331a9ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Tue, 29 Oct 2024 12:33:31 +0100 Subject: [PATCH] Fix status indication --- client/internal/peer/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/internal/peer/status.go b/client/internal/peer/status.go index a28992fac..b61f9873c 100644 --- a/client/internal/peer/status.go +++ b/client/internal/peer/status.go @@ -675,11 +675,11 @@ func (d *Status) GetRelayStates() []relay.ProbeResult { // in case of connection we will use the instance specific address instanceAddr, err := d.relayMgr.RelayInstanceAddress() if err != nil { - // TODO add their status if errors.Is(err, relayClient.ErrRelayClientNotConnected) { for _, r := range d.relayMgr.ServerURLs() { relayStates = append(relayStates, relay.ProbeResult{ URI: r, + Err: err, }) } return relayStates