autotest: disarm vehicle in exception handle for PrecLand test

This commit is contained in:
Peter Barker 2023-08-11 11:13:26 +10:00 committed by Peter Barker
parent 205e6bebc7
commit 70c6f49613

View File

@ -4613,6 +4613,7 @@ class AutoTestCopter(AutoTest):
except Exception as e: except Exception as e:
self.print_exception_caught(e) self.print_exception_caught(e)
self.disarm_vehicle(force=True)
ex = e ex = e
self.context_pop() self.context_pop()