瀏覽代碼

Append error from exception for message

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
tags/v15.0.0beta1
Daniel Kesselberg 5 年之前
父節點
當前提交
1243caea2e
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      apps/theming/lib/ImageManager.php

+ 1
- 1
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 {

Loading…
取消
儲存