Skip to content

Commit

Permalink
fix: there was a raise missing for throwing exceptions (#1077)
Browse files Browse the repository at this point in the history
  • Loading branch information
sai-sunder-s authored Jul 12, 2022
1 parent 77f1704 commit d1f17b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/auth/impersonated_credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Binary file modified system_tests/secrets.tar.enc
Binary file not shown.

0 comments on commit d1f17b0

Please sign in to comment.