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

[Bug] Always log body when there's an error #4760

Open
billytrend-cohere opened this issue Sep 26, 2024 · 0 comments
Open

[Bug] Always log body when there's an error #4760

billytrend-cohere opened this issue Sep 26, 2024 · 0 comments
Assignees
Labels
java Java models, clients, and server interfaces

Comments

@billytrend-cohere
Copy link
Contributor

Describe the Bug

When the java sdk gets an html/xml response, it throws and doesn't print the body. If there is a body at all, it will likely be useful to the user. SDKs should always log the body of a request in the case of a failure

@billytrend-cohere billytrend-cohere added the java Java models, clients, and server interfaces label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java Java models, clients, and server interfaces
Development

No branches or pull requests

2 participants