Skip to content

Commit

Permalink
Ignore API errors in optimize command
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshiori committed Dec 17, 2020
1 parent 4d7ca2d commit b46ffe8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions launchable/commands/optimize/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b46ffe8

Please sign in to comment.