diff --git a/everblu_meters.c b/everblu_meters.c index 207c4a9..c50dc06 100644 --- a/everblu_meters.c +++ b/everblu_meters.c @@ -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