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:
parent
c99925004f
commit
fe583ee0af
|
@ -321,9 +321,8 @@ public class SearchController {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onFailure(Throwable caught) {
|
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());
|
Log.error("Error on loading", "An error occurred on create job, retry." +caught.getMessage());
|
||||||
caught.printStackTrace();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -386,8 +385,8 @@ public class SearchController {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onFailure(Throwable caught) {
|
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());
|
Log.error("Error on loading", "An error occurred on create job by children, retry." +caught.getMessage());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Reference in New Issue