From 0406b28abdf83c03da35ca24dd68621c845047c9 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 9 Dec 2020 13:32:40 +1100 Subject: [PATCH] autotest: print exception if caught in test_alt_estimate_prearm --- Tools/autotest/arducopter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 9d6a0720c4..95269784b5 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -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)