Skip to content

Commit

Permalink
Merge pull request #2280 from malakaganga/fix_freeMarker
Browse files Browse the repository at this point in the history
Log improvement in PayloadHelper
  • Loading branch information
malakaganga authored Jan 10, 2025
2 parents 67160de + 2ae696b commit 5dd2000
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ public static int getPayloadType(MessageContext mc) {
public static OMElement getXMLPayload(SOAPEnvelope envelope) {
SOAPBody body = envelope.getBody();
if (body == null) {
log.error("No body found");
log.debug("No body found");
return null;
}
OMElement bodyEl = body.getFirstElement();
if (bodyEl == null) {
log.error("No body child found");
log.debug("No body child found");
return null;
}
return bodyEl;
Expand Down

0 comments on commit 5dd2000

Please sign in to comment.