added log

This commit is contained in:
Francesco Mangiacrapa 2021-05-14 16:22:45 +02:00
parent 0c317804ed
commit 7d9104991d
1 changed files with 4 additions and 3 deletions

View File

@ -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)