Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion lib/Conversion/ConversionProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ public function convertFile(File $file, string $targetMimeType): mixed {
private function getMimeProvidersFor(array $inputMimeTypes, string $outputMimeType): array {
$outputMimeInfo = $this->getMimeInfoFor($outputMimeType);
if ($outputMimeInfo === null) {
$this->logger->error($this->l10n->t('Unable to fetch information on $s', [$outputMimeType]));
$this->logger->error(
$this->l10n->t('Unable to fetch information on %1$s',
[$outputMimeType]
));
throw new \Exception();
}

Expand Down
Loading