Merge pull request #11603 from nextcloud/bugfix/noid/fix-wrong-call-for-logger

Fix call to logger
This commit is contained in:
Roeland Jago Douma 2018-10-04 07:40:31 +02:00 committed by GitHub
commit 3c42510f02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ class ImageManager {
$pngFile = $folder->newFile($key . '.png');
$pngFile->putContent($finalIconFile->getImageBlob());
} catch (\ImagickException $e) {
$this->logger->info('The image was requested to be no SVG file, but converting it to PNG failed.', $e->getMessage());
$this->logger->info('The image was requested to be no SVG file, but converting it to PNG failed: ' . $e->getMessage());
$pngFile = null;
}
} else {