mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-07-31 19:25:14 +02:00
Merge branch 'bugfix/confusing_print' into 'master'
mqtt_print: Change the message printed after MQTT connection failure See merge request espressif/esp-mqtt!65
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);
|
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) {
|
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);
|
esp_mqtt_abort_connection(client);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user