updated exception

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100688 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2014-10-15 09:01:04 +00:00
parent 4a390be913
commit 775d559397
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,8 @@ public class GeonetworkInstance {
try {
this.geonetworkPublisher.login(LoginLevel.DEFAULT);
} catch (AuthorizationException e) {
throw new GeonetworkInstanceException(e);
logger.error("authentication on geonetwork failed ",e);
throw new GeonetworkInstanceException("Geonetwork authentication failed");
}
logger.trace("authentication on geonetwork completed");
}