summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2018-10-03 21:15:20 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2018-10-03 21:15:20 +0200
commit1986c1f5639627198a36e2b0390d848e2a13b5e8 (patch)
tree1652d69a464aa31c495c7efc362c78dd8b080693
parentfc60d9f85253093521a4bdce6c591f5ff9757105 (diff)
downloadnextcloud-server-1986c1f5639627198a36e2b0390d848e2a13b5e8.tar.gz
nextcloud-server-1986c1f5639627198a36e2b0390d848e2a13b5e8.zip
Fix call to logger
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 dfbdb582da6..58879a9b471 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 {