Skip to content

Commit

Permalink
Add property key to log when cloning OMElement and stack.
Browse files Browse the repository at this point in the history
  • Loading branch information
KalinduGandara committed Feb 11, 2025
1 parent 6fb13f7 commit b5b14a7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,12 @@ public static MessageContext cloneMessageContext(MessageContext synCtx, boolean
} else if (obj instanceof Stack
&& strkey.equals(SynapseConstants.SYNAPSE__FUNCTION__STACK)) {
if (log.isDebugEnabled()) {
log.debug("Deep clone for Template function stack");
log.debug("Deep clone for Template function stack : " + strkey + ".");
}
obj = getClonedTemplateStack((Stack<TemplateContext>) obj);
} else if (obj instanceof OMElement) {
if (log.isDebugEnabled()) {
log.debug("Deep clone for OMElement");
log.debug("Deep clone for OMElement property : " + strkey + ".");
}
obj = (OMElement) ((OMElement) obj).cloneOMElement();
} else if (obj instanceof ResponseState) {
Expand Down

0 comments on commit b5b14a7

Please sign in to comment.