diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 3b68e8b110..a741162702 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -1371,6 +1371,6 @@ def fly_CopterAVC(viewerip=None, map=False): util.pexpect_close(sim) if failed: - print("FAILED: %s" % e) + print("FAILED: %s" % failed_test_msg) return False return True