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

@ -78,6 +78,7 @@
<artifactId>spd-model</artifactId>
<version>1.0.0-SNAPSHOT</version>
<!-- <version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version> -->
<!-- UNCOMMENT THIS FOR RELEASE -->
<!-- <scope>provided</scope> -->
</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();