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

baton-sdk should return a different error message if --provisioning is not set #114

Open
ggreer opened this issue Mar 20, 2024 · 1 comment · May be fixed by #233
Open

baton-sdk should return a different error message if --provisioning is not set #114

ggreer opened this issue Mar 20, 2024 · 1 comment · May be fixed by #233

Comments

@ggreer
Copy link
Contributor

ggreer commented Mar 20, 2024

Right now if you try to provision something without the --provisioning flag, we error with "resource type does not have provisioner configured". It'd be nice if the error was something like "provisioning is not enabled. try running with --provisioning".

@kgibson-spotnana
Copy link

Overall the error messages could be fleshed out to help diagnosis. I implemented Revoke parameters incorrectly and did not match the ResourceProvisioner interface and wrestled with the same error message for a while before discovering my mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants