Skip to content

Commit

Permalink
Fix log message
Browse files Browse the repository at this point in the history
  • Loading branch information
sfodagain committed May 24, 2024
1 parent 01865d9 commit 98b6f9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion samples/greengrass/basic_discovery/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ std::shared_ptr<Mqtt::MqttConnection> getMqttConnection(
{
fprintf(
stderr,
"Error connecting to group %s, using connection to %s:%d\n",
"Error connecting to group %s (thing %s) using connection to %s:%d\n",
groupToUse.GGGroupId->c_str(),
groupToUse.Cores->at(0).ThingArn->c_str(),
connectivityInfo.HostAddress->c_str(),
(int)connectivityInfo.Port.value());
fprintf(stderr, "Error: %s\n", aws_error_debug_str(errorCode));
Expand Down

0 comments on commit 98b6f9e

Please sign in to comment.