From 62ca3689aa01452962f9c6cbe2aa93df3d4491d4 Mon Sep 17 00:00:00 2001 From: John Cater Date: Mon, 29 Jun 2026 15:11:28 -0400 Subject: [PATCH] Report the error that caused the test to stop executing. --- xctestrunner/test_runner/ios_test_runner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xctestrunner/test_runner/ios_test_runner.py b/xctestrunner/test_runner/ios_test_runner.py index c85800d..a0df23c 100644 --- a/xctestrunner/test_runner/ios_test_runner.py +++ b/xctestrunner/test_runner/ios_test_runner.py @@ -214,7 +214,8 @@ def _SimulatorTest(args): """The function of sub command `simulator_test`.""" try: return _RunSimulatorTest(args) - except ios_errors.SimError: + except ios_errors.SimError as e: + logging.error('Failed to run simulator test: %s', e) return runner_exit_codes.EXITCODE.SIM_ERROR test_parser = subparsers.add_parser(