From 775d559397e29a7bfc73c98018485b24e8349d27 Mon Sep 17 00:00:00 2001 From: Francesco Mangiacrapa Date: Wed, 15 Oct 2014 09:01:04 +0000 Subject: [PATCH] updated exception git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100688 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../gcube/datatransfer/resolver/gis/GeonetworkInstance.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/datatransfer/resolver/gis/GeonetworkInstance.java b/src/main/java/org/gcube/datatransfer/resolver/gis/GeonetworkInstance.java index c5d0874..5deb930 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/gis/GeonetworkInstance.java +++ b/src/main/java/org/gcube/datatransfer/resolver/gis/GeonetworkInstance.java @@ -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"); }