mirror of https://github.com/ArduPilot/ardupilot
Tools: logger_metadata: increase diagnostic output on failure
This commit is contained in:
parent
1ecac3282f
commit
279bec8786
|
@ -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)):
|
||||||
|
|
Loading…
Reference in New Issue