autotest: improve diagnostics when receiving unexpected mission ack

This commit is contained in:
Peter Barker 2024-08-30 10:42:20 +10:00 committed by Peter Barker
parent 6d844d8c79
commit 1439aebf94
1 changed files with 1 additions and 2 deletions

View File

@ -9212,8 +9212,7 @@ Also, ignores heartbeats not from our target system'''
m.mission_type == 0):
# this is just MAVProxy trying to screw us up
continue
else:
raise NotAchievedException("Received unexpected mission ack %s" % str(m))
raise NotAchievedException(f"Received unexpected mission ack {self.dump_message_verbose(m)}")
self.progress("Handling request for item %u/%u" % (m.seq, len(items)-1))
self.progress("Item (%s)" % str(items[m.seq]))