Skip to content

Commit

Permalink
autotest: improve diagnostics when receiving unexpected mission ack
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Aug 30, 2024
1 parent 6d844d8 commit 1439aeb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tools/autotest/vehicle_test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -9212,8 +9212,7 @@ def upload_using_mission_protocol(self, mission_type, items):
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]))
Expand Down

0 comments on commit 1439aeb

Please sign in to comment.