mqtt_print: Change the message printed after MQTT connection failure

Since the original message was confusing.
This commit is contained in:
Piyush Shah
2020-04-24 23:05:47 +05:30
parent 0c3d306589
commit fb41520206

View File

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