Skip to content

Commit

Permalink
Merge pull request #57 from launchableinc/Ignore_API_errors_in_optimi…
Browse files Browse the repository at this point in the history
…ze_command

Ignore API errors in optimize command
  • Loading branch information
yoshiori authored Dec 17, 2020
2 parents b12bb6c + b46ffe8 commit cbe2884
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 cbe2884

Please sign in to comment.