added log
This commit is contained in:
parent
0c317804ed
commit
7d9104991d
|
@ -391,12 +391,13 @@ public class WorkspaceThreddsSynchronize
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
SynchronizedElementInfo theSEI = SyncEngine.parseInfo(itemProperties, itemType);
|
SynchronizedElementInfo theSEI = SyncEngine.parseInfo(itemProperties, itemType);
|
||||||
|
logger.debug("the SynchronizedElementInfo returned is: "+theSEI);
|
||||||
return ThreddsConverter.toThSyncElementInfo.apply(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 itemId the item id
|
||||||
* @param itemProperties the item properties
|
* @param itemProperties the item properties
|
||||||
|
@ -411,8 +412,8 @@ public class WorkspaceThreddsSynchronize
|
||||||
} catch (WorkspaceNotSynchedException e) {
|
} catch (WorkspaceNotSynchedException e) {
|
||||||
logger.debug("WorkspaceNotSynchedException catched, the item id: " + itemId + " is not synched");
|
logger.debug("WorkspaceNotSynchedException catched, the item id: " + itemId + " is not synched");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.debug("Error on getting configuration for the item id: " + itemId
|
logger.debug("Error on getting SyncElementInfo for the item id: " + itemId
|
||||||
+ ", returning null (means not synched)");
|
+ ", returning null (means not synched)", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sinInfo != null)
|
if (sinInfo != null)
|
||||||
|
|
Loading…
Reference in New Issue