updated info display of exception occurred on server

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/speciesdiscovery@70773 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2013-03-04 15:56:06 +00:00
parent c99925004f
commit fe583ee0af
1 changed files with 2 additions and 3 deletions

View File

@ -321,9 +321,8 @@ public class SearchController {
@Override
public void onFailure(Throwable caught) {
Info.display("Error on loading", "An error occurred on create job, retry.");
Info.display("Error", "Sorry, An error occurred on create job. Please try again later");
Log.error("Error on loading", "An error occurred on create job, retry." +caught.getMessage());
caught.printStackTrace();
}
@ -386,8 +385,8 @@ public class SearchController {
@Override
public void onFailure(Throwable caught) {
Info.display("Error", "Sorry, An error occurred on create job. Please try again later");
Log.error("Error on loading", "An error occurred on create job by children, retry." +caught.getMessage());
}
@Override