diff --git a/src/main/java/org/gcube/informationsystem/publisher/stubs/registry/CollectorStubs.java b/src/main/java/org/gcube/informationsystem/publisher/stubs/registry/CollectorStubs.java index ca7f48d..70a0bf1 100644 --- a/src/main/java/org/gcube/informationsystem/publisher/stubs/registry/CollectorStubs.java +++ b/src/main/java/org/gcube/informationsystem/publisher/stubs/registry/CollectorStubs.java @@ -95,7 +95,7 @@ public class CollectorStubs implements RegistryStub { } }catch (ResourceDoesNotExistException | RemoveException e) { throw e; - }catch (Exception e) { + }catch (Exception e1) { throw new RemoveException("connection error removing resource"); } }