panchenko commented on a change in pull request #126: replace empty
HttpResponseException.message with statusCode
URL:
https://github.com/apache/httpcomponents-client/pull/126#discussion_r242946793
##########
File path:
httpclient/src/main/java/org/apache/http/client/HttpResponseException.java
##########
@@ -38,7 +38,7 @@
private final int statusCode;
public HttpResponseException(final int statusCode, final String s) {
- super(s);
+ super(s == null || s.isEmpty() ? Integer.toString(statusCode) : s);
Review comment:
@ok2c Please take a look
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]