Skip to content

Commit

Permalink
Report which string field is missing its max size
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman committed Nov 25, 2024
1 parent 4ccaefe commit 33477af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/rdm/PidStoreLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,8 @@ const FieldDescriptor *PidStoreLoader::StringFieldToFieldDescriptor(
min = field.min_size();

if (!field.has_max_size()) {
OLA_WARN << "String field failed to specify max size";
OLA_WARN << "String field " << field.name()
<< " failed to specify max size";
return NULL;
}
return new ola::messaging::StringFieldDescriptor(
Expand Down

0 comments on commit 33477af

Please sign in to comment.