Currently, in case of Conjur calls errors, there is no information available when using the conjur-spring-boot-sdk.
This PR improves exceptions handling and offer better logging in case of errors.
Implemented Changes
Correct logger for few classes
Remove usage Exception.printStacktrace
When dealing with com.cyberark.conjur.sdk.ApiException, logging the reason of the error
Before the fix:
After the fix:
Connected Issue/Story
Resolves #78
Definition of Done
At least 1 todo must be completed in the sections below for the PR to be
merged.
Changelog
[ ] The CHANGELOG has been updated, or
[x] This PR does not include user-facing changes and doesn't require a
CHANGELOG update
Test coverage
[ ] This PR includes new unit and integration tests to go with the code
changes, or
[x] The changes in this PR do not require tests
Documentation
[ ] Docs (e.g. READMEs) were updated in this PR
[ ] A follow-up issue to update official docs has been filed here: [insert issue ID]
[x] This PR does not require updating any documentation
Behavior
[ ] This PR changes product behavior and has been reviewed by a PO, or
[ ] These changes are part of a larger initiative that will be reviewed later, or
[x] No behavior was changed with this PR
Security
[ ] Security architect has reviewed the changes in this PR,
[ ] These changes are part of a larger initiative with a separate security review, or
[x] There are no security aspects to these changes
closes #78
Desired Outcome
Currently, in case of Conjur calls errors, there is no information available when using the conjur-spring-boot-sdk. This PR improves exceptions handling and offer better logging in case of errors.
Implemented Changes
Exception.printStacktrace
com.cyberark.conjur.sdk.ApiException
, logging the reason of the errorBefore the fix:
After the fix:
Connected Issue/Story
Resolves #78
Definition of Done
At least 1 todo must be completed in the sections below for the PR to be merged.
Changelog
Test coverage
Documentation
README
s) were updated in this PRBehavior
Security