diff --git a/launchable/commands/subset.py b/launchable/commands/subset.py index e0ec48e4a..39cb0df6b 100644 --- a/launchable/commands/subset.py +++ b/launchable/commands/subset.py @@ -560,6 +560,7 @@ def request_subset(self) -> SubsetResult: # The status code 422 is returned when validation error of the test mapping file occurs. if res.status_code == 422: print_error_and_die("Error: {}".format(res.reason), Tracking.ErrorEvent.USER_ERROR) + res.raise_for_status() return SubsetResult.from_response(res.json()) except Exception as e: