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

Add malformed response to log metadata in dtclient #685

Merged
merged 4 commits into from
Apr 1, 2022

Conversation

gkrenn
Copy link
Contributor

@gkrenn gkrenn commented Apr 1, 2022

Description

If a request to the tenant fails, because the response is malformed, we can't see the actual response from the tenant in the debug logs, which makes this hard to debug.

Therefore this PR adds the response to failed request error messages.

How can this be tested?

Cause a malformed response from the tenant => The malformed requests should show up in the log now.

Checklist

  • Unit tests have been updated/added
  • PR is labeled accordingly

@gkrenn gkrenn requested a review from a team as a code owner April 1, 2022 11:40
@gkrenn gkrenn added the core Changes to core functionality of the Operator label Apr 1, 2022
@gkrenn gkrenn changed the title Add response to log metadata in dtclient Add malformed response to log metadata in dtclient Apr 1, 2022
@gkrenn gkrenn merged commit 66c4e29 into master Apr 1, 2022
@gkrenn gkrenn deleted the feature/unify-json-parsing-errorhandling branch April 1, 2022 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Changes to core functionality of the Operator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants