diff --git a/launchable/commands/optimize/test.py b/launchable/commands/optimize/test.py index cd1feb24d..245b07762 100644 --- a/launchable/commands/optimize/test.py +++ b/launchable/commands/optimize/test.py @@ -67,6 +67,8 @@ def test(test_paths, target, session_id, source, build_name): subsetted_paths = res.json()["testNames"] click.echo(" ".join(subsetted_paths)) except Exception as e: + # When Error occurs, return the test name as it is passed. + click.echo(" ".join(test_paths)) if os.getenv(REPORT_ERROR_KEY): raise e else: