forked from Qortal/qortal
CHANGED: removed double output
This commit is contained in:
parent
74a49baaf3
commit
aff81c2806
@ -295,8 +295,6 @@ public class ApiClient {
|
|||||||
final int status = response.getStatus();
|
final int status = response.getStatus();
|
||||||
StringBuilder result = new StringBuilder();
|
StringBuilder result = new StringBuilder();
|
||||||
if(status >= 400) {
|
if(status >= 400) {
|
||||||
result.append("HTTP Status ");
|
|
||||||
result.append(status);
|
|
||||||
if(StringUtils.isBlank(body)) {
|
if(StringUtils.isBlank(body)) {
|
||||||
result.append(
|
result.append(
|
||||||
this.translator.translate(TRANSLATION_CONTEXT_PATH, "error without body", "HTTP Status ${STATUS}",
|
this.translator.translate(TRANSLATION_CONTEXT_PATH, "error without body", "HTTP Status ${STATUS}",
|
||||||
|
Loading…
Reference in New Issue
Block a user