From 26cd4f26075650eb2e5f51b56353fa1de8b332e5 Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Wed, 6 May 2026 20:22:58 -0400 Subject: [PATCH] Add warning log for hosts with no display data in relay response --- app/vpn/relayclient.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/vpn/relayclient.cpp b/app/vpn/relayclient.cpp index fa95165..bd1e450 100644 --- a/app/vpn/relayclient.cpp +++ b/app/vpn/relayclient.cpp @@ -29,7 +29,7 @@ QUrl RelayClient::apiUrl(const QString &path) const return u; } -// ─── Auth-header injection ──────────────────────────────────────────────────── +// ─── Auth-header injection ──────────────────────────────────────────────── QNetworkReply *RelayClient::authedGet(const QString &path) { @@ -215,6 +215,10 @@ void RelayClient::onHostsReply(QNetworkReply *reply) h.displays.append(displayMap); } + if (h.displays.isEmpty()) { + qWarning() << "Host" << h.name << "has no display data in relay response"; + } + if (!h.ip.isEmpty()) hosts << h; }