Implemented ability to send error data along with user feedback in case of error
[pithos-web-client] / src / gr / grnet / pithos / web / client / tagtree / TagTreeViewModel.java
index 4cee314..ff5778f 100644 (file)
@@ -158,6 +158,7 @@ public class TagTreeViewModel implements TreeViewModel {
                 @Override
                 public void onError(Throwable th) {
                     GWT.log("Error getting folder", th);
+                                       app.setError(th);
                     if (th instanceof RestException)
                         app.displayError("Error getting folder: " + ((RestException) th).getHttpStatusText());
                     else