♻️ code clean-up

This commit is contained in:
Marc Koch 2025-04-01 18:15:37 +02:00
parent 5a424771fd
commit a94a9baf4c
Signed by: marc.koch
GPG key ID: 12406554CFB028B9
4 changed files with 10 additions and 23 deletions

View file

@ -110,7 +110,7 @@ class GroupMailingList extends BaseMailingList {
}
catch (\Exception $e) {
throw new MailinglistException(
"Could not get recipients for group with id '{$this->group['id']}'\n$e",
"Could not get recipients for group with id '{$this->group['id']}': {$e->getMessage()}",
MailinglistException::ERROR_CODE_GET_RECIPIENTS_FAILED
);
}