diff --git a/src/mqtt.cpp b/src/mqtt.cpp index e0ddda2c7..2b931be8c 100644 --- a/src/mqtt.cpp +++ b/src/mqtt.cpp @@ -598,7 +598,8 @@ bool Mqtt::queue_message(const uint8_t operation, const std::string & topic, con mqtt_message_id_++; mqtt_publish_fails_++; } - return false; // quit, not using MQTT + LOG_DEBUG("%s failed: low memory", operation == Operation::PUBLISH ? "Publish" : operation == Operation::SUBSCRIBE ? "Subscribe" : "Unsubscribe"); + return false; // quit } uint16_t packet_id = 0;