Revision 3f8622d4 src/gr/grnet/pithos/web/client/foldertree/FolderTreeViewModel.java
b/src/gr/grnet/pithos/web/client/foldertree/FolderTreeViewModel.java | ||
---|---|---|
156 | 156 |
@Override |
157 | 157 |
public void onError(Throwable t) { |
158 | 158 |
GWT.log("Error getting folder", t); |
159 |
app.setError(t); |
|
159 | 160 |
if (t instanceof RestException) |
160 | 161 |
app.displayError("Error getting folder: " + ((RestException) t).getHttpStatusText()); |
161 | 162 |
else |
... | ... | |
241 | 242 |
@Override |
242 | 243 |
public void onError(Throwable t) { |
243 | 244 |
GWT.log("Error getting folder", t); |
245 |
app.setError(t); |
|
244 | 246 |
if (t instanceof RestException) |
245 | 247 |
app.displayError("Error getting folder: " + ((RestException) t).getHttpStatusText()); |
246 | 248 |
else |
Also available in: Unified diff