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:
parent
c71b90f977
commit
11b2bfb0cc
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue