Skip to content

Commit

Permalink
The service name might provide more debug information than host:port …
Browse files Browse the repository at this point in the history
…details (#346)

* The service name might provide more debug information than host:port details

Signed-off-by: Tim Clephas <[email protected]>
Co-authored-by: Tomoya Fujita <[email protected]>
  • Loading branch information
Timple and fujitatomoya committed Mar 22, 2022
1 parent fe94cf5 commit bf0da9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynamic_bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ void get_ros1_service_info(
transport->close();
});
if (!transport->connect(host, port)) {
fprintf(stderr, "Failed to connect to %s:%d\n", host.data(), port);
fprintf(stderr, "Failed to connect to %s (%s:%d)\n", name.data(), host.data(), port);
return;
}
ros::M_string header_out;
Expand Down

0 comments on commit bf0da9d

Please sign in to comment.