Browse Source

Append error from exception for message

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
tags/v15.0.0beta1
Daniel Kesselberg 5 years ago
parent
commit
1243caea2e
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/theming/lib/ImageManager.php

+ 1
- 1
apps/theming/lib/ImageManager.php 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 {

Loading…
Cancel
Save