-
First: Thanks for all the open source work you guys at Spatie do. Much appreciated. I think there is an issue with error handling/data integrity on media creation. In case I'm not missing a main point of the process/library, there is no error handling when it comes down to the actual upload to the final filesystem. Laravel: 9.22.1 A simplified part of my code: $estate->addMedia($file)->usingFileName($this->generateFileName($file))->toMediaCollection($attachmentType->collectionName(), $attachmentType->disk()); File is an instance of
I am sorry if I am missing something here and would be glad to be educated on how to handle upload errors (without checking the file existence with the S3 API manually after creation). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@hdk-pd I had a similar issue so made a pr #3067 can you please see if it solves yours too. |
Beta Was this translation helpful? Give feedback.
@hdk-pd I had a similar issue so made a pr #3067 can you please see if it solves yours too.