1
0
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:
Otto Winter 2019-06-03 10:38:11 +02:00
parent 84bc464aa6
commit 067cfed465
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -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);
}
}