src/wagtail_localize_smartling/api/client.py [230:235]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        try:
            response_json = response.json()
        except requests.exceptions.JSONDecodeError as e:
            raise InvalidResponse(
                f"Response was not valid JSON: {response.text}"
            ) from e
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/wagtail_localize_smartling/api/client.py [596:601]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                try:
                    response_json = response.json()
                except requests.exceptions.JSONDecodeError as e:
                    raise InvalidResponse(
                        f"Response was not valid JSON: {response.text}"
                    ) from e
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



