From 3714cc67c1547f61e397dab971ed4a5e429c44e2 Mon Sep 17 00:00:00 2001 From: hospel <12736698+ole4ryb@users.noreply.github.com> Date: Mon, 11 Nov 2024 11:40:56 +0000 Subject: [PATCH] logger message fix to include the full exception message --- .../pss/translator/service/AcknowledgeRecordService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }