Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 00f65ffd45 |
@@ -17,7 +17,7 @@ class OrganizationListingTemplateDataListener
|
|||||||
{
|
{
|
||||||
public function __construct(
|
public function __construct(
|
||||||
private readonly Connection $connection,
|
private readonly Connection $connection,
|
||||||
private readonly LoggerInterface $logger,
|
private readonly ?LoggerInterface $logger = null,
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -146,7 +146,7 @@ class OrganizationListingTemplateDataListener
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($rowsWithoutTagSlugs > 0) {
|
if (null !== $this->logger && $rowsWithoutTagSlugs > 0) {
|
||||||
$this->logger->warning('Organization listing tag enrichment left rows without tag slugs.', [
|
$this->logger->warning('Organization listing tag enrichment left rows without tag slugs.', [
|
||||||
'template' => (string) $template->getName(),
|
'template' => (string) $template->getName(),
|
||||||
'totalRows' => \count($tbody),
|
'totalRows' => \count($tbody),
|
||||||
|
|||||||
Reference in New Issue
Block a user