Skip to content

Commit 4449296

Browse files
committed
Client HttpException default message to use call (lower case)
1 parent 208b58d commit 4449296

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

http-client/src/main/java/io/avaje/http/client/HttpException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ public HttpException(int statusCode, Throwable cause) {
7575
}
7676

7777
HttpException(HttpResponse<?> httpResponse, DHttpClientContext context) {
78-
super("Http Call failed with status: " + httpResponse.statusCode());
78+
super("Http call failed with status: " + httpResponse.statusCode());
7979
this.httpResponse = httpResponse;
8080
this.statusCode = httpResponse.statusCode();
8181
this.context = context;
8282
this.responseAsBytes = false;
8383
}
8484

8585
HttpException(DHttpClientContext context, HttpResponse<byte[]> httpResponse) {
86-
super("Http Call failed with status: " + httpResponse.statusCode());
86+
super("Http call failed with status: " + httpResponse.statusCode());
8787
this.httpResponse = httpResponse;
8888
this.statusCode = httpResponse.statusCode();
8989
this.context = context;

0 commit comments

Comments
 (0)