added control on the thredds insertion. exceptions are ignored

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineGeoSpatialExtension@79051 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Gianpaolo Coro 2013-07-12 13:00:34 +00:00
parent b8137ca82c
commit 9e1ebdb9e4
1 changed files with 5 additions and 1 deletions

View File

@ -136,8 +136,12 @@ public class ThreddsFetcher {
AnalysisLogger.getLogger().debug("title: " + metadataInserter.getTitle());
AnalysisLogger.getLogger().debug("abstract: " + metadataInserter.getAbstractField());
try{
metadataInserter.insertMetaData();
}catch(Exception e){
AnalysisLogger.getLogger().debug("Error in inserting file: "+filename);
}
// break;
}