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
/
commands
/
PasteCommand.java
diff --git
a/src/gr/grnet/pithos/web/client/commands/PasteCommand.java
b/src/gr/grnet/pithos/web/client/commands/PasteCommand.java
index
9d344bd
..
639050b
100644
(file)
--- a/
src/gr/grnet/pithos/web/client/commands/PasteCommand.java
+++ b/
src/gr/grnet/pithos/web/client/commands/PasteCommand.java
@@
-145,6
+145,7
@@
public class PasteCommand implements Command {
@Override
public void onError(Throwable t) {
GWT.log("", t);
+ app.setError(t);
if (t instanceof RestException) {
app.displayError("Unable to copy file: " + ((RestException) t).getHttpStatusText());
}