From 6d1b5cff2ae93afb3d5304bce295d7884ca9935d Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Fri, 30 Aug 2024 16:58:08 +0200 Subject: [PATCH] chore: update logging message This updates the logging message shown if the input does not match the pattern. Co-authored-by: chgl --- .../miracum/streams/ume/obdstofhir/mapper/ObdsToFhirMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/miracum/streams/ume/obdstofhir/mapper/ObdsToFhirMapper.java b/src/main/java/org/miracum/streams/ume/obdstofhir/mapper/ObdsToFhirMapper.java index 78357390..478bbc89 100644 --- a/src/main/java/org/miracum/streams/ume/obdstofhir/mapper/ObdsToFhirMapper.java +++ b/src/main/java/org/miracum/streams/ume/obdstofhir/mapper/ObdsToFhirMapper.java @@ -78,7 +78,7 @@ protected static String convertId(String id) { if (matcher.find()) { return matcher.group(); } else { - log.warn("Identifier to convert does not have 9 digits without leading '0': {}", id); + log.warn("Identifier to convert does not match pattern: {}", matcher.pattern().toString()); return id; } }