-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: do not suppress external project ID determination errors (#1153)
Do not suppress the underlying error, as the error could contain helpful information for debugging and fixing. This is especially true for external account creds as in order to get the project ID, the following operations have to succeed: 1. Valid credentials file should be supplied. 2. Ability to retrieve access tokens from STS token exchange API. 3. Ability to exchange for service account impersonated credentials (if enabled). 4. Ability to get project info using the access token from step 2 or 3. Without surfacing the error, it is harder for developers to determine which step went wrong.
- Loading branch information
1 parent
ec49fe6
commit 6c1c91d
Showing
2 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters