Skip to content

Commit 10fd36c

Browse files
committed
TASK: Merge branch '7.0' into master
# Conflicts: # Classes/AssetExtraction/IngestAttachmentAssetExtractor.php
2 parents de1e764 + a4612a7 commit 10fd36c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Classes/AssetExtraction/IngestAttachmentAssetExtractor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ protected function getAssetContent(AssetInterface $asset): string
117117
$stream = $asset->getResource()->getStream();
118118
} catch (\Exception $e) {
119119
$message = $this->throwableStorage->logThrowable($e);
120-
$this->logger->error(sprintf('An exception occured while fetching resource with sah1 %s of asset %s. %s', $asset->getResource()->getSha1(), $asset->getResource()->getFilename(), $message), LogEnvironment::fromMethodName(__METHOD__));
120+
$this->logger->error(sprintf('An exception occured while fetching resource with sha1 %s of asset %s. %s', $asset->getResource()->getSha1(), $asset->getResource()->getFilename(), $message), LogEnvironment::fromMethodName(__METHOD__));
121121
return '';
122122
}
123123

124124
if ($stream === false) {
125-
$this->logger->error(sprintf('Could not get the file stream of resource with sah1 %s of asset %s.', $asset->getResource()->getSha1(), $asset->getResource()->getFilename()), LogEnvironment::fromMethodName(__METHOD__));
125+
$this->logger->error(sprintf('Could not get the file stream of resource with sha1 %s of asset %s.', $asset->getResource()->getSha1(), $asset->getResource()->getFilename()), LogEnvironment::fromMethodName(__METHOD__));
126126
return '';
127127
}
128128

0 commit comments

Comments
 (0)