Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit d0c855b

Browse files
authored
Merge pull request #26 from itk-dev/hotfix/remove-cpr
Removed CPR number from exception
2 parents fbc2342 + c637bc3 commit d0c855b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).
1111

1212
### Changed
1313

14+
- Remove CPR from exception
1415
- Added more recipient field types
1516
- Fixed error logging.
1617

src/Helper/WebformHelperSF1601.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function sendDigitalPost(WebformSubmissionInterface $submission, array $h
162162
$cprServiceResult = $this->cprService->search($recipientIdentifier);
163163
}
164164
catch (ServiceException $serviceException) {
165-
throw new RuntimeException(sprintf('Cannot validate recepient identifier (%s:%s)', $recipientIdentifierType, $recipientIdentifier));
165+
throw new RuntimeException('Cannot validate recepient identifier');
166166
}
167167

168168
$senderSettings = $this->settings->getSender();

0 commit comments

Comments
 (0)