mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-07-31 19:25:14 +02:00
mqtt_print: Change the message printed after MQTT connection failure
Since the original message was confusing.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user