X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/0c880def5e99ae339a8cc03e1d753fce70231b66..60ffe6a993b6ef3c241966a94d1d23b5324f3e8b:/app/Uploads/ImageService.php diff --git a/app/Uploads/ImageService.php b/app/Uploads/ImageService.php index 02fe2e8ef..010b531f1 100644 --- a/app/Uploads/ImageService.php +++ b/app/Uploads/ImageService.php @@ -109,6 +109,7 @@ class ImageService $storage->put($fullPath, $imageData); $storage->setVisibility($fullPath, 'public'); } catch (Exception $e) { + \Log::error('Error when attempting image upload:' . $e->getMessage()); throw new ImageUploadException(trans('errors.path_not_writable', ['filePath' => $fullPath])); }