Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switched to throwing error upon failed image processing
ref https://linear.app/tryghost/issue/ENG-740/http-500-error-when-image-processing-fails refs 4aad551 - upon further discussion, we've decided it's better to throw an error in this case because the uploaded image is deemed invalid and storing it on the filesystem might cause more issues with resizing/further processing in the future - this commit implements that and alters the tests
- Loading branch information
1 parent
4aad551
commit 55791a8
Showing
3 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters