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 Andrew Tridgell
parent 1ecac3282f
commit 279bec8786
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ class LoggerDocco(object):
return
# Make sure lengths match up
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
# Loop through the list
for idx in range(0, len(fmts)):