Added comments during resetting scope provider

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@128579 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2016-05-12 16:29:33 +00:00
parent c71b90f977
commit 11b2bfb0cc
2 changed files with 4 additions and 4 deletions

View File

@ -166,10 +166,10 @@ public class ApplicationProfileReader {
}
} catch (Exception e) {
logger.error("Error while trying to fetch applicationProfile profile from the infrastructure");
e.printStackTrace();
logger.error("Error while trying to fetch applicationProfile profile from the infrastructure", e);
return null;
}finally{
logger.info("Resetting scope provider...");
ScopeProvider.instance.reset();
}

View File

@ -89,9 +89,9 @@ public class GeoRuntimeReader {
}
}catch (Exception e) {
logger.error("Sorry, an error occurred on reading parameters in Runtime Reosurces",e);
e.printStackTrace();
logger.error("Sorry, an error occurred on reading parameters in Runtime Resources",e);
}finally{
logger.info("Resetting scope provider...");
ScopeProvider.instance.reset();
}