Skip to content

Commit

Permalink
mqtt: clarify connection error message for mqtt() source
Browse files Browse the repository at this point in the history
Signed-off-by: Balazs Scheidler <[email protected]>
  • Loading branch information
bazsi committed Feb 8, 2024
1 parent 1202829 commit 765ca28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mqtt/source/mqtt-source.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ _connect(LogThreadedFetcherDriver *s)

if ((rc = MQTTClient_connect(self->client, &conn_opts)) != MQTTCLIENT_SUCCESS)
{
msg_error("Error connecting mqtt client",
msg_error("Error connecting to mqtt server",
evt_tag_str("error_code", MQTTClient_strerror(rc)),
evt_tag_str("client_id", mqtt_client_options_get_client_id(&self->options)),
log_pipe_location_tag(&self->super.super.super.super.super));
Expand Down

0 comments on commit 765ca28

Please sign in to comment.