You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/03/14 14:39:56 UTC
[GitHub] [pulsar] Technoboy- commented on a change in pull request #14677: Fixed 404 error msg not being returned correctly using http lookup.
Technoboy- commented on a change in pull request #14677:
URL: https://github.com/apache/pulsar/pull/14677#discussion_r826022353
##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/web/RestException.java
##########
@@ -49,7 +49,11 @@ public RestException(Response.Status status, String message) {
}
public RestException(int code, String message) {
- super(message, Response.status(code).entity(new ErrorData(message)).type(MediaType.APPLICATION_JSON).build());
+ super(message, Response
+ .status(code, message)
Review comment:
`HttpClient` is the base utility class, I wonder this will bring other unknown changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org