Skip to content

chore: improve error message in _metadata.py #1652

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jan 17, 2025
Merged

Conversation

harkamaljot
Copy link
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 review from a team as code owners January 15, 2025 09:01
@harkamaljot harkamaljot merged commit 1972c7b into main Jan 17, 2025
15 checks passed
@harkamaljot harkamaljot deleted the improve-error-message branch January 17, 2025 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants