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(