From 718e34a075f63c2c8af14a81b9a49ad8781470f1 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Wed, 3 Oct 2018 22:20:57 +0200 Subject: Append error from exception for message Signed-off-by: Daniel Kesselberg --- apps/theming/lib/ImageManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/theming/lib/ImageManager.php b/apps/theming/lib/ImageManager.php index dfbdb582da6..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 { -- cgit v1.2.3