diff --git a/google/cloud/sql/connector/client.py b/google/cloud/sql/connector/client.py index 22e923fa..4bdda2ef 100644 --- a/google/cloud/sql/connector/client.py +++ b/google/cloud/sql/connector/client.py @@ -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: @@ -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: