mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
add log message for mqtt low memory
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user