1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-15 15:18:16 +00:00

Update mqtt_client.cpp

This commit is contained in:
Otto Winter 2019-06-03 10:37:11 +02:00
parent c9cd1257c3
commit 84bc464aa6
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -371,7 +371,7 @@ bool MQTTClientComponent::publish(const std::string &topic, const char *payload,
if (ret != 0) { if (ret != 0) {
ESP_LOGV(TAG, "Publish(topic='%s' payload='%s' retain=%d)", topic.c_str(), payload, retain); ESP_LOGV(TAG, "Publish(topic='%s' payload='%s' retain=%d)", topic.c_str(), payload, retain);
} else { } else {
ESP_LOGW(TAG, "Publish failed for topic='%s' will retry later..", topic.c_str()); ESP_LOGV(TAG, "Publish failed for topic='%s' will retry later..", topic.c_str());
this->status_momentary_warning("publish", 1000); this->status_momentary_warning("publish", 1000);
} }
} }