Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switched to throwing error upon failed image processing #19843

Merged
merged 1 commit into from Mar 12, 2024

Conversation

daniellockyer
Copy link
Member

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

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
@daniellockyer daniellockyer merged commit 55791a8 into main Mar 12, 2024
33 of 40 checks passed
@daniellockyer daniellockyer deleted the image-upload branch March 12, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant