Skip to content

Commit 7dc9ca0

Browse files
Carlosespicurrsanchez15
authored andcommitted
Fix comment and warning
Signed-off-by: Carlosespicur <carlosespicur@proton.me>
1 parent 18b788b commit 7dc9ca0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/datastreamer_plugin/fastdds/Participant.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ void Participant::create_subscription(
173173
DataTypeNameType type_name = discovery_database_->operator [](topic_name).first;
174174
DynamicType::_ref_type dyn_type;
175175

176-
// Check if type is already registered
176+
// Check if type info is available
177177
if (discovery_database_->operator [](topic_name).second == false)
178178
{
179-
WARNING("Type " << topic_name << " has not been registered yet");
179+
WARNING("Type " << topic_name << ": info not available yet");
180180
throw InconsistencyException("Trying to create Data Reader in a non registered type: " + topic_name);
181181
}
182182

0 commit comments

Comments
 (0)