Skip to content

Commit

Permalink
GetDKAN#4226: Dereferencer fails logging a property node that was del…
Browse files Browse the repository at this point in the history
…eted while still being referenced
  • Loading branch information
stefan-korn committed Jul 15, 2024
1 parent 6d55543 commit 811d6f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/metastore/src/Reference/Dereferencer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Psr\Log\LoggerInterface;

use Drupal\metastore\Exception\MissingObjectException;
use Psr\Log\LogLevel;

/**
* Metastore dereferencer.
Expand Down Expand Up @@ -169,7 +170,7 @@ private function dereferenceSingle(string $property_id, string $uuid) {
// If a property node was not found, it most likely means it was deleted
// while still being referenced.
$this->logger->log(
'value_referencer',
LogLevel::WARNING,
'Property @property_id reference @uuid not found',
[
'@property_id' => $property_id,
Expand Down

0 comments on commit 811d6f1

Please sign in to comment.