Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
馃悰 Fixed HTTP 500 error when image processing fails during upload
fixes ENG-740 fixes https://linear.app/tryghost/issue/ENG-740/http-500-error-when-image-processing-fails - in the event the image transform library throws (which can happen for many reasons; sharp/libvips can come across a number of errors), we currently return this as a HTTP 500 error to the user - in this case, we should just try-catch the call and jump to the non-processing flow where it just saves the original image - also added breaking test
- Loading branch information