Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.
This repository was archived by the owner on May 30, 2025. It is now read-only.

Better description for errors #18

@3goats

Description

@3goats

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions