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

Better description for errors #18

Open
3goats opened this issue Nov 13, 2020 · 0 comments
Open

Better description for errors #18

3goats opened this issue Nov 13, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@3goats
Copy link

3goats commented Nov 13, 2020

Is it possible to be more descriptive for error messages. For example, its difficult to see what’s causing this error when using the get_cert.rb example.

Environment variables set as follows:

export TPP_URL=https://tpp.venafidemo.com\vedsdk &&
export TPP_USER=tppadmin &&
export TPP_PASSWORD=***** &&
export TPP_ZONE=Terraform

Using Venafi Platform connection to https://tpp.venafidemo.com
Traceback (most recent call last):
        4: from get_cert.rb:42:in `<main>'
        3: from /home/cbourne/.gem/gems/vcert-0.1.1/lib/vcert.rb:46:in `zone_configuration'
        2: from /home/cbourne/.gem/gems/vcert-0.1.1/lib/tpp/tpp.rb:50:in `zone_configuration'
        1: from /home/cbourne/.gem/gems/vcert-0.1.1/lib/tpp/tpp.rb:133:in `post'
/home/cbourne/.gem/gems/vcert-0.1.1/lib/tpp/tpp.rb:123:in `auth': Vcert::AuthenticationError (Vcert::AuthenticationError)

However, it’s difficult to work out where things are going wrong. All variables test OK using the VCert CLI.

@tr1ck3r tr1ck3r added the enhancement New feature or request label Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants