Tools: logger_metadata: increase diagnostic output on failure

This commit is contained in:
Peter Barker 2024-11-21 14:00:05 +11:00 committed by Peter Barker
parent e23d82a9df
commit e5439f0901
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ class LoggerDocco(object):
return return
# Make sure lengths match up # Make sure lengths match up
if len(fmts) != len(self.fields_order): if len(fmts) != len(self.fields_order):
print(f"Number of fmts don't match fields: msg={self.name} fmts={fmts} num_fields={len(self.fields_order)}") print(f"Number of fmts don't match fields: msg={self.name} fmts={fmts} num_fields={len(self.fields_order)} {self.fields_order}") # noqa:E501
return return
# Loop through the list # Loop through the list
for idx in range(0, len(fmts)): for idx in range(0, len(fmts)):