Added custom message in case of error
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@144549 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
fdb8ebf426
commit
3c20d100ff
|
@ -2094,7 +2094,8 @@ public class AppController implements SubscriberInterface {
|
|||
@Override
|
||||
public void onFailure(Throwable caught) {
|
||||
fileVersioningEvent.getWinVersioning().unmask();
|
||||
Window.alert("error: "+caught);
|
||||
//Window.alert("Error: "+caught.getMessage());
|
||||
new MessageBoxAlert("Error", caught.getMessage(), null);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue