We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f73d39 commit b2161f5Copy full SHA for b2161f5
1 file changed
shrclient-omod/src/main/java/org/openmrs/module/shrclient/util/WebClient.java
@@ -109,7 +109,7 @@ public String handleResponse(final HttpResponse response) throws IOException {
109
} else if (status == HttpStatus.FORBIDDEN.value()) {
110
throw new ClientProtocolException("Access is denied: " + status);
111
} else if (status >= 400 && status < 500) {
112
- String errorMessage = String.format("Unexpected response status: %s. Response returned is %s.\n", status, content);
+ String errorMessage = String.format("Unexpected response status: %s. \nResponse returned is %s.\n", status, content);
113
throw new ClientProtocolException(errorMessage);
114
} else {
115
throw new ClientProtocolException("Unexpected response status: " + status);
0 commit comments