projects
/
pithos-web-client
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
diff --git
a/src/gr/grnet/pithos/web/client/tagtree/TagTreeViewModel.java
b/src/gr/grnet/pithos/web/client/tagtree/TagTreeViewModel.java
index
4cee314
..
ff5778f
100644
(file)
--- a/
src/gr/grnet/pithos/web/client/tagtree/TagTreeViewModel.java
+++ b/
src/gr/grnet/pithos/web/client/tagtree/TagTreeViewModel.java
@@
-158,6
+158,7
@@
public class TagTreeViewModel implements TreeViewModel {
@Override
public void onError(Throwable th) {
GWT.log("Error getting folder", th);
@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
if (th instanceof RestException)
app.displayError("Error getting folder: " + ((RestException) th).getHttpStatusText());
else