updated: unmask in case of error

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/speciesdiscovery@77529 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2013-07-03 15:11:35 +00:00
parent 88ecdfdfc1
commit d420465b76
2 changed files with 5 additions and 2 deletions

View File

@ -77,8 +77,9 @@
<groupId>org.gcube.data.spd</groupId>
<artifactId>spd-model</artifactId>
<version>1.0.0-SNAPSHOT</version>
<!-- <version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version> -->
<!-- <scope>provided</scope> -->
<!-- <version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version> -->
<!-- UNCOMMENT THIS FOR RELEASE -->
<!-- <scope>provided</scope> -->
</dependency>
<dependency>

View File

@ -1310,6 +1310,8 @@ public class SearchController {
@Override
public void onFailure(Throwable caught) {
doActiveMaskLoadingGridAndButtonSearch(false);
Info.display("Error", "An error occurred during the search");
Log.error("Error during the search", caught.getMessage());
reset();