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 d5cc386..48429d5 100644 --- a/src/main/java/org/gcube/portal/wssynclibrary/thredds/WorkspaceThreddsSynchronize.java +++ b/src/main/java/org/gcube/portal/wssynclibrary/thredds/WorkspaceThreddsSynchronize.java @@ -391,12 +391,13 @@ public class WorkspaceThreddsSynchronize return null; SynchronizedElementInfo theSEI = SyncEngine.parseInfo(itemProperties, itemType); + logger.debug("the SynchronizedElementInfo returned is: "+theSEI); return ThreddsConverter.toThSyncElementInfo.apply(theSEI); } /** - * Checks if is item synched. + * Checks if is item synched. This calls the {@link SyncEngine#parseInfo(Map, ContainerType)} * * @param itemId the item id * @param itemProperties the item properties @@ -411,8 +412,8 @@ public class WorkspaceThreddsSynchronize } catch (WorkspaceNotSynchedException e) { logger.debug("WorkspaceNotSynchedException catched, the item id: " + itemId + " is not synched"); } catch (Exception e) { - logger.debug("Error on getting configuration for the item id: " + itemId - + ", returning null (means not synched)"); + logger.debug("Error on getting SyncElementInfo for the item id: " + itemId + + ", returning null (means not synched)", e); } if (sinInfo != null)