cyberark / cyberark-conjur-cli

CyberArk Conjur command line interface written in Python
https://www.conjur.org
Apache License 2.0
17 stars 16 forks source link

Add error handling when user uses older conjurrc #299

Closed sigalsax closed 3 years ago

sigalsax commented 3 years ago

What does this PR do?

When a user doesn't have the correct keys in their conjurrc config file (because of an older version of conjurrc when using the ruby cli), the user gets incomprehensive error. This fixes this by adding error handling and returning a more detailed error message.

Previously:

Screen Shot 2021-05-16 at 11 34 28 AM

With this change:

Screen Shot 2021-05-16 at 11 33 55 AM

What ticket does this PR close?

Resolves #292

Checklists

Change log

Test coverage

Documentation

codeclimate[bot] commented 3 years ago

Code Climate has analyzed commit 20af78c8 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 92.8% (75% is the threshold).

This pull request will bring the total coverage in the repository to 89.7% (0.0% change).

View more on Code Climate.