From 54c24c50d3565f44398445370df59d55d329f183 Mon Sep 17 00:00:00 2001 From: jkingsman Date: Thu, 26 Mar 2026 13:39:08 -0700 Subject: [PATCH] Clarify MQTT error logs when persistent --- app/fanout/mqtt_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/fanout/mqtt_base.py b/app/fanout/mqtt_base.py index f9c725d..ec6f973 100644 --- a/app/fanout/mqtt_base.py +++ b/app/fanout/mqtt_base.py @@ -102,7 +102,7 @@ class BaseMqttPublisher(ABC): except Exception as e: logger.warning( "%s publish failed on %s. This is usually transient network noise; " - "if it self-resolves and reconnects, it is generally not a concern: %s", + "if it self-resolves and reconnects, it is generally not a concern. Persistent errors may indicate a problem with your network connection or MQTT broker. Original error: %s", self._integration_label(), topic, e, @@ -239,7 +239,7 @@ class BaseMqttPublisher(ABC): logger.warning( "%s connection error. This is usually transient network noise; " "if it self-resolves, it is generally not a concern: %s " - "(reconnecting in %ds)", + "(reconnecting in %ds). If this error persists, check your network connection and MQTT broker status.", self._integration_label(), e, backoff,