CHANGED: removed double output

This commit is contained in:
Kc 2018-10-14 22:00:27 +02:00
parent 74a49baaf3
commit aff81c2806

View File

@ -295,8 +295,6 @@ public class ApiClient {
final int status = response.getStatus();
StringBuilder result = new StringBuilder();
if(status >= 400) {
result.append("HTTP Status ");
result.append(status);
if(StringUtils.isBlank(body)) {
result.append(
this.translator.translate(TRANSLATION_CONTEXT_PATH, "error without body", "HTTP Status ${STATUS}",