Debug info

This commit is contained in:
leo 2023-07-09 19:54:12 +02:00
parent 77f15678b8
commit 085e9da0e6
Signed by: leo
GPG Key ID: 0DD993BFB2B307DB

View File

@ -100,7 +100,7 @@ int main(int argc, char *argv[])
//Connect to MQTT server
if(mosquitto_connect(mosq, MQTT_HOST, MQTT_PORT, MQTT_KEEP_ALIVE)){
fprintf(stderr, "ERROR: Unable to connect to MQTT broker.\n");
fprintf(stderr, "ERROR: Unable to connect to MQTT broker (%s %i %s).\n", MQTT_HOST, MQTT_USER, MQTT_PORT);
return 1;
}
//Start a thread, and call mosquitto? Loop() continuously in the thread to process network information