-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tolerate Configure panics if one provider errors out (#2931)
Minimally scoped panic recovery to address the scenario found in pulumi/pulumi-gcp#3007 GCP expects failure in Configure for SDKv2 to be final. When our code attempts to call Configure for PF after that failure, it results in a panic. I do not know if fail-on-first-error is the desired behavior as it seems preferable to collect all the errors to show to the user if possible. Therefore this PR is scoped to tolerate panics if there have been preceding errors.
- Loading branch information
Showing
2 changed files
with
68 additions
and
1 deletion.
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