summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2018-10-03 22:20:57 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2018-10-03 22:20:57 +0200
commit1243caea2e1ad57f9a723ea9cdfd160fe1eabb42 (patch)
tree9b635ad9c6683ec8e0fb2716a445753f70cf9040
parent1986c1f5639627198a36e2b0390d848e2a13b5e8 (diff)
downloadnextcloud-server-1243caea2e1ad57f9a723ea9cdfd160fe1eabb42.tar.gz
nextcloud-server-1243caea2e1ad57f9a723ea9cdfd160fe1eabb42.zip
Append error from exception for message
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-rw-r--r--apps/theming/lib/ImageManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/ImageManager.php b/apps/theming/lib/ImageManager.php
index 58879a9b471..8c144bfe6ae 100644
--- a/apps/theming/lib/ImageManager.php
+++ b/apps/theming/lib/ImageManager.php
@@ -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 {