diff --git a/src/main/java/org/gcube/portal/wssynclibrary/thredds/WorkspaceThreddsSynchronize.java b/src/main/java/org/gcube/portal/wssynclibrary/thredds/WorkspaceThreddsSynchronize.java index 48429d5..aad176a 100644 --- a/src/main/java/org/gcube/portal/wssynclibrary/thredds/WorkspaceThreddsSynchronize.java +++ b/src/main/java/org/gcube/portal/wssynclibrary/thredds/WorkspaceThreddsSynchronize.java @@ -113,14 +113,14 @@ public class WorkspaceThreddsSynchronize logger.error("Error: ", e); if (e instanceof WorkspaceInteractionException) throw new Exception( - "Sorry, an error occurred during check syncronization due to WS interection for the itemId: " - + itemId); + "Sorry, a WorkspaceInteraction error occurred during check syncronization for the itemId: " + + itemId+". Try again or contact the support"); else if (e instanceof InternalException) throw new Exception( - "Sorry, an Internal Exception occurred during check syncronization for the itemId: " + itemId); + "Sorry, an Internal error occurred during check syncronization for the itemId: " + itemId+". Try again or contact the support"); throw new Exception( - "Sorry, an error occurred server side during chck syncronization for the itemId: " + itemId); + "Sorry, an error occurred server side during chck syncronization for the itemId: " + itemId+". Try again or contact the support"); } } @@ -370,7 +370,7 @@ public class WorkspaceThreddsSynchronize SynchFolderConfiguration syncFolderConfig = engine.getConfig(itemId); ThSynchFolderConfiguration toFolderConfig = ThreddsConverter.toThSynchFolderConfiguration .apply(syncFolderConfig); - + return new ThSyncFolderDescriptor(itemId, null, toFolderConfig, false, null, null); }