Revision 1ac430a1 web_client/src/gr/grnet/pithos/web/client/rest/GetRequest.java
b/web_client/src/gr/grnet/pithos/web/client/rest/GetRequest.java | ||
---|---|---|
70 | 70 |
public void onError(Request request, Throwable throwable) { |
71 | 71 |
if (throwable instanceof RestException) { |
72 | 72 |
if (((RestException) throwable).getHttpStatusCode() == 304 && cached != null){ |
73 |
GWT.log("Using cache: " + cached.getUri(), null);
|
|
73 |
GWT.log("Using cache: " + cached.toString(), null);
|
|
74 | 74 |
onSuccess(cached); |
75 | 75 |
return; |
76 | 76 |
} |
Also available in: Unified diff