Skip to content

Commit 24ecec6

Browse files
authored
TASK: Lower severity of one more log message
If the `NodeData` of a node cannot be loaded, this isn't really an error, as the comment in the code even indicates.
1 parent 0d0a8ab commit 24ecec6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/IndexingJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function execute(QueueInterface $queue, Message $message)
3030

3131
// Skip this iteration if the nodedata can not be fetched (deleted node)
3232
if (!$nodeData instanceof NodeData) {
33-
$this->log(sprintf('action=indexing step=failed node=%s message="Node data could not be loaded"', $node['identifier']), \LOG_ERR);
33+
$this->log(sprintf('action=indexing step=failed node=%s message="Node data could not be loaded"', $node['identifier']), \LOG_WARNING);
3434
continue;
3535
}
3636

0 commit comments

Comments
 (0)