mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 22:28:14 +00:00
Update mqtt_client.cpp
This commit is contained in:
parent
84bc464aa6
commit
067cfed465
@ -371,7 +371,8 @@ bool MQTTClientComponent::publish(const std::string &topic, const char *payload,
|
||||
if (ret != 0) {
|
||||
ESP_LOGV(TAG, "Publish(topic='%s' payload='%s' retain=%d)", topic.c_str(), payload, retain);
|
||||
} else {
|
||||
ESP_LOGV(TAG, "Publish failed for topic='%s' will retry later..", topic.c_str());
|
||||
ESP_LOGV(TAG, "Publish failed for topic='%s' (len=%u). will retry later..",
|
||||
topic.c_str(), payload_length);
|
||||
this->status_momentary_warning("publish", 1000);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user