]> BookStack Code Mirror - bookstack/blobdiff - app/Uploads/ImageService.php
Add base64 image support
[bookstack] / app / Uploads / ImageService.php
index 02fe2e8ef35c48a640411958e124426d629803c2..010b531f1042d1714205474fc5437a9e6078f0be 100644 (file)
@@ -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]));
         }