diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/AcknowledgeRecordService.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/AcknowledgeRecordService.java index d21e5ffe6..85d3795b7 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/AcknowledgeRecordService.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/service/AcknowledgeRecordService.java @@ -49,7 +49,7 @@ public boolean prepareAndSendAcknowledgementMessage(AcknowledgeRecordMessage ack try { message = parseOriginalMessage(acknowledgeRecordMessage); } catch (Exception exception) { - LOGGER.error("Original message was not parsed due to an exception.", exception.getMessage()); + LOGGER.error("Original message was not parsed due to an exception: {}", exception.getMessage()); return false; }