Revision 8ddb4627 src/gr/grnet/pithos/web/client/rest/RestRequestCallback.java
b/src/gr/grnet/pithos/web/client/rest/RestRequestCallback.java | ||
---|---|---|
38 | 38 |
import com.google.gwt.http.client.Request; |
39 | 39 |
import com.google.gwt.http.client.RequestCallback; |
40 | 40 |
import com.google.gwt.http.client.Response; |
41 |
import gr.grnet.pithos.web.client.Pithos; |
|
41 | 42 |
import gr.grnet.pithos.web.client.Resource; |
42 | 43 |
|
43 | 44 |
public abstract class RestRequestCallback<T extends Resource> implements RequestCallback { |
... | ... | |
81 | 82 |
onError(request, new RestException(path, response.getStatusCode(), statusText, text)); |
82 | 83 |
} |
83 | 84 |
} catch (Exception e) { |
85 |
Pithos.LOG(e); |
|
84 | 86 |
onError(request, e); |
85 | 87 |
} |
86 | 88 |
} |
Also available in: Unified diff