Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

chore: improve error message in _metadata.py#1652

Merged
harkamaljot merged 7 commits intomainfrom
improve-error-message
Jan 17, 2025
Merged

chore: improve error message in _metadata.py#1652
harkamaljot merged 7 commits intomainfrom
improve-error-message

Conversation

@harkamaljot
Copy link
Copy Markdown
Contributor

Retrier errors in google/auth/compute_engine/_metadata.py should have full error information as some people may have warnings turned off. So saving the last error and throwing it along with the exception.

@harkamaljot harkamaljot requested a review from a team January 15, 2025 09:01
@harkamaljot harkamaljot requested a review from a team as a code owner January 15, 2025 09:01
@harkamaljot harkamaljot merged commit 1972c7b into main Jan 17, 2025
@harkamaljot harkamaljot deleted the improve-error-message branch January 17, 2025 06:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants