Skip to content

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