autotest: disarm vehicle in exception handle for PrecLand test
This commit is contained in:
parent
205e6bebc7
commit
70c6f49613
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user