diff --git a/bundle/Core/Site/LanguageResolver.php b/bundle/Core/Site/LanguageResolver.php index 669e044e..7790cc80 100644 --- a/bundle/Core/Site/LanguageResolver.php +++ b/bundle/Core/Site/LanguageResolver.php @@ -65,8 +65,8 @@ public function resolveByContent(VersionInfo $versionInfo): string } catch (SiteAccessMatchException $exception) { $this->logger->debug( sprintf( - 'Could not resolve siteaccess for Location #%s, falling back to the current siteaccess: %s', - $location->id, + 'Could not resolve siteaccess for Content #%s, falling back to the current siteaccess: %s', + $versionInfo->contentInfo->id, $exception->getMessage(), ), );