completed initial charge logic
This commit is contained in:
@@ -40,7 +40,7 @@ public class RestTemplateResponseErrorHandler
|
||||
BufferedReader reader = new BufferedReader(new InputStreamReader(httpResponse.getBody()));
|
||||
String httpBodyResponse = reader.lines().collect(Collectors.joining(""));
|
||||
|
||||
throw new RestException(httpBodyResponse, "Client Error");
|
||||
throw new RestException(httpBodyResponse, "Client Error: " + httpResponse.getStatusCode());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user