Update http cancel log. (#433)
This commit is contained in:
@@ -90,7 +90,8 @@ public class HttpRequestImpl implements HttpRequest {
|
||||
public void cancelRequest() {
|
||||
// call can be null if the constructor gets aborted (e.g, under a NoRouteToHostException).
|
||||
if (call != null) {
|
||||
HttpLogger.log(Log.DEBUG, String.format("[HTTP] Cancel request %s", call.request().url()));
|
||||
HttpLogger.log(Log.DEBUG, String.format("[HTTP] This request was cancelled (%s). This is expected for tiles"
|
||||
+ " that were being prefetched but are no longer needed for the map to render.", call.request().url()));
|
||||
call.cancel();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user