Skip to content

Commit 1b19696

Browse files
committed
TASK: Simplify log output
1 parent 829e120 commit 1b19696

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/Driver/AbstractIndexerDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ protected function findClosestFulltextRoot(NodeInterface $node): ?NodeInterface
5858
if ($closestFulltextNode === null) {
5959
// root of hierarchy, no fulltext root found anymore, abort silently...
6060
if ($node->getPath() !== '/' && $node->getPath() !== '/sites') {
61-
$this->logger->warning(sprintf('NodeIndexer: No fulltext root found for node %s (%s)', $node->getIdentifier(), $node->getContextPath()), LogEnvironment::fromMethodName(__METHOD__));
61+
$this->logger->warning(sprintf('NodeIndexer: No fulltext root found for node %s', (string)$node), LogEnvironment::fromMethodName(__METHOD__));
6262
}
6363

6464
return null;

0 commit comments

Comments
 (0)