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

Include provider package name in error messages from sdk/go/common/resource/plugin/provider_plugin.go #11675

Open
justinvp opened this issue Dec 18, 2022 · 0 comments
Labels
area/engine Pulumi engine kind/enhancement Improvements or new features size/S Estimated effort to complete (1-2 days).

Comments

@justinvp
Copy link
Member

Following up from #11316, it would have been a lot easier to figure out the underlying issue if the following error had included the provider's package name:

return ConstructResult{}, fmt.Errorf("plugins that can construct components must support secrets")

We should do a quick pass over the errors returned from this and consider including the provider package name in error messages.

@justinvp justinvp added kind/enhancement Improvements or new features area/engine Pulumi engine size/S Estimated effort to complete (1-2 days). labels Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/engine Pulumi engine kind/enhancement Improvements or new features size/S Estimated effort to complete (1-2 days).
Projects
None yet
Development

No branches or pull requests

1 participant