diff --git a/google/auth/impersonated_credentials.py b/google/auth/impersonated_credentials.py index 00cabac3a..72e61a1fe 100644 --- a/google/auth/impersonated_credentials.py +++ b/google/auth/impersonated_credentials.py @@ -100,7 +100,7 @@ def _make_iam_token_request( ) if response.status != http_client.OK: - exceptions.RefreshError(_REFRESH_ERROR, response_body) + raise exceptions.RefreshError(_REFRESH_ERROR, response_body) try: token_response = json.loads(response_body) diff --git a/system_tests/secrets.tar.enc b/system_tests/secrets.tar.enc index 76bc77ae3..9baa3acd2 100644 Binary files a/system_tests/secrets.tar.enc and b/system_tests/secrets.tar.enc differ