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

Couchbase: include error response from Couchbase in checkSuccessfulResponse() #3006

Merged
merged 1 commit into from
Jul 19, 2020

Conversation

aaronjwhiteside
Copy link
Contributor

checkSuccessfulResponse() now passes the body of the response to the thrown exception, if present.

Also minor logging cleanup, and prevented an exception from being swallowed.

fixes #2799

…thrown exception, if present.

Also minor logging cleanup, and prevented an exception from being swallowed.

fixes testcontainers#2799
@rnorth
Copy link
Member

rnorth commented Jul 18, 2020

Thanks @aaronjwhiteside, I think this looks sensible.

@rnorth rnorth merged commit 6e8c18e into testcontainers:master Jul 19, 2020
@rnorth rnorth added this to the next milestone Jul 19, 2020
@rnorth rnorth changed the title couchbase: include error response from couchbase in checkSuccessfulResponse() Couchbase: include error response from couchbase in checkSuccessfulResponse() Jul 19, 2020
@rnorth rnorth changed the title Couchbase: include error response from couchbase in checkSuccessfulResponse() Couchbase: include error response from Couchbase in checkSuccessfulResponse() Jul 19, 2020
sd-yip added a commit to sd-yip/testcontainers-java that referenced this pull request May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CouchbaseContainer checkSuccessfulResponse() does not include the actual error response from Couchbase
2 participants