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:
Francesco Mangiacrapa 2017-03-02 17:17:37 +00:00
parent fdb8ebf426
commit 3c20d100ff
1 changed files with 2 additions and 1 deletions

View File

@ -2094,7 +2094,8 @@ public class AppController implements SubscriberInterface {
@Override @Override
public void onFailure(Throwable caught) { public void onFailure(Throwable caught) {
fileVersioningEvent.getWinVersioning().unmask(); fileVersioningEvent.getWinVersioning().unmask();
Window.alert("error: "+caught); //Window.alert("Error: "+caught.getMessage());
new MessageBoxAlert("Error", caught.getMessage(), null);
} }