From fb41520206dad9f8803387dcc7c4d609faf4d0c8 Mon Sep 17 00:00:00 2001 From: Piyush Shah Date: Fri, 24 Apr 2020 23:05:47 +0530 Subject: [PATCH] mqtt_print: Change the message printed after MQTT connection failure Since the original message was confusing. --- mqtt_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqtt_client.c b/mqtt_client.c index 7ccdb5a..2241382 100644 --- a/mqtt_client.c +++ b/mqtt_client.c @@ -1252,7 +1252,7 @@ static void esp_mqtt_task(void *pv) } ESP_LOGD(TAG, "Transport connected to %s://%s:%d", client->config->scheme, client->config->host, client->config->port); if (esp_mqtt_connect(client, client->config->network_timeout_ms) != ESP_OK) { - ESP_LOGE(TAG, "Error MQTT Connected"); + ESP_LOGE(TAG, "MQTT connect failed"); esp_mqtt_abort_connection(client); break; }