autotest: print exception if caught in test_alt_estimate_prearm

This commit is contained in:
Peter Barker 2020-12-09 13:32:40 +11:00 committed by Peter Barker
parent 2203bf2400
commit 0406b28abd

View File

@ -5430,6 +5430,8 @@ class AutoTestCopter(AutoTest):
except AutoTestTimeoutException:
self.progress("PASS not able to set mode without Position : %s" % "ALT_HOLD")
except Exception as e:
self.progress("Exception caught: %s" % (
self.get_exception_stacktrace(e)))
ex = e
self.context_pop()
self.disarm_vehicle(force=True)