From 8e05986333e57bb8bbcb46b8cb58075dd60a213b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Mon, 28 Oct 2024 14:02:00 +0100 Subject: [PATCH] CoAP: Silence warning regarding multicast join error --- libnymea/coap/coap.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libnymea/coap/coap.cpp b/libnymea/coap/coap.cpp index 7457ce4a..b422d196 100644 --- a/libnymea/coap/coap.cpp +++ b/libnymea/coap/coap.cpp @@ -227,9 +227,10 @@ bool Coap::joinMulticastGroup(const QHostAddress &address) { bool ok = m_socket->joinMulticastGroup(address); if (ok) { - qCDebug(dcCoap()) << "Joined CoAP multucast group on:" << address; + qCDebug(dcCoap()) << "Joined CoAP multicast group on:" << address.toString(); } else { - qCWarning(dcCoap()) << "Error joining CoAP multicast group on:" << address; + // Note: the caller of this method shall warn about the failed multicast join and retry + qCDebug(dcCoap()) << "Error joining CoAP multicast group on:" << address.toString(); } return ok; }