Skip to content
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

fix(storage): preserve full Status in default creds #13897

Merged
merged 3 commits into from Mar 30, 2024

Conversation

coryan
Copy link
Member

@coryan coryan commented Mar 29, 2024

We no longer encourage using
google::cloud::storage::oauth2::GoogleDefaultCredentials(), but in this case the function was dropping details about an error condition that are probably useful.

Related to #13746


This change is Reviewable

We no longer encourage using
`google::cloud::storage::oauth2::GoogleDefaultCredentials()`, but in
this case the function was dropping details about an error condition
that are probably useful.
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Mar 29, 2024
@coryan coryan marked this pull request as ready for review March 29, 2024 22:47
@coryan coryan requested review from a team as code owners March 29, 2024 22:47
Copy link

codecov bot commented Mar 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.05%. Comparing base (dadeb07) to head (6c9583b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13897      +/-   ##
==========================================
- Coverage   93.65%   93.05%   -0.61%     
==========================================
  Files        2268     2181      -87     
  Lines      195909   185575   -10334     
==========================================
- Hits       183483   172685   -10798     
- Misses      12426    12890     +464     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@coryan coryan enabled auto-merge (squash) March 29, 2024 23:38
@coryan coryan merged commit 1515de3 into googleapis:main Mar 30, 2024
62 checks passed
@coryan coryan deleted the fix-storage-return-original-error branch March 30, 2024 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants