Skip to content

Commit

Permalink
fix error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Scottmitch committed May 23, 2022
1 parent 4fe7a7c commit da15823
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ private static void validateStatusCode(HttpResponseStatus status) {
grpcStatusCode = UNKNOWN;
}
throw GrpcStatusException.of(Status.newBuilder().setCode(grpcStatusCode.value())
.setMessage("HTTP status code: " + grpcStatusCode).build());
.setMessage("HTTP status code: " + status).build());
}

static <Resp> Publisher<Resp> validateResponseAndGetPayload(final StreamingHttpResponse response,
Expand Down

0 comments on commit da15823

Please sign in to comment.