From 2022b646e391e625200646e609919662233e011e Mon Sep 17 00:00:00 2001 From: martinyde Date: Thu, 9 Feb 2023 08:52:02 +0100 Subject: [PATCH 1/2] Removed CPR number from exception --- src/Helper/WebformHelperSF1601.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Helper/WebformHelperSF1601.php b/src/Helper/WebformHelperSF1601.php index ee4e767..ec45b8a 100644 --- a/src/Helper/WebformHelperSF1601.php +++ b/src/Helper/WebformHelperSF1601.php @@ -162,7 +162,7 @@ public function sendDigitalPost(WebformSubmissionInterface $submission, array $h $cprServiceResult = $this->cprService->search($recipientIdentifier); } catch (ServiceException $serviceException) { - throw new RuntimeException(sprintf('Cannot validate recepient identifier (%s:%s)', $recipientIdentifierType, $recipientIdentifier)); + throw new RuntimeException('Cannot validate recepient identifier'); } $senderSettings = $this->settings->getSender(); From 7ec67bbd50f7fab12fe2538f640b180c7808d982 Mon Sep 17 00:00:00 2001 From: martinyde Date: Thu, 9 Feb 2023 09:10:42 +0100 Subject: [PATCH 2/2] FORMS-722: Modified changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d437b6c..2f29055 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +- Remove CPR from exception + ## [1.1.0] ### Added