]> source.dussan.org Git - nextcloud-server.git/commitdiff
Append error from exception for message 11610/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Wed, 3 Oct 2018 20:20:57 +0000 (22:20 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Thu, 4 Oct 2018 09:34:27 +0000 (11:34 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
apps/theming/lib/ImageManager.php

index dfbdb582da661a398ea1fe05e53b89cd1c74bcea..8c144bfe6ae6e75652906c55e9d366d3ec168826 100644 (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 {