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; }