diff --git a/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php b/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php index 5cd4277ae48cc..6e1b52ad5e89a 100644 --- a/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php +++ b/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php @@ -725,7 +725,9 @@ public function resizeFile($source, $keepRatio = true) try { $image->resize($imageWidth, $imageHeight); } catch (\Throwable $e) { - $this->logger->critical('FAILED WYSIWYG IMAGE RESIZING: ' . ' error: ' . $e->getMessage() . '. path: ' . $realPath); + $this->logger->critical( + 'FAILED WYSIWYG IMAGE RESIZING: ' . ' error: ' . $e->getMessage() . '. path: ' . $realPath + ); return false; } $dest = $targetDir . '/' . $this->ioFile->getPathInfo($source)['basename'];