Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwotherspoon committed Nov 27, 2024
1 parent dcccbfa commit 2ea9bf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions google/cloud/sql/connector/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ async def _get_metadata(
message = ret_dict.get("error", {}).get("message")
if message:
resp.reason = message
# skip, raise_for_status will catch all errors in finally block
except Exception:
pass
finally:
Expand Down Expand Up @@ -216,6 +217,7 @@ async def _get_ephemeral(
message = ret_dict.get("error", {}).get("message")
if message:
resp.reason = message
# skip, raise_for_status will catch all errors in finally block
except Exception:
pass
finally:
Expand Down

0 comments on commit 2ea9bf3

Please sign in to comment.