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

Do not create thumbs for invalid pictures #16

Merged
merged 3 commits into from
Nov 24, 2022

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Nov 24, 2022

If a picture has validation errors (ie. an invalid format)
a cryptic exception is raised:

"You cannot call create unless the parent is saved"

Let's not try to create a thumb if the picture is invalid.

@tvdeyen tvdeyen requested a review from mamhoff November 24, 2022 09:28
If a picture has validation errors (ie. an invalid format)
a cryptic exception is raised:

"You cannot call create unless the parent is saved"

Let's not try to create a thumb if the picture is invalid.
Alchemy has an error tracking notifier. Let's use it.
@tvdeyen tvdeyen force-pushed the do-not-create-thumbs-for-invalid-pictures branch from 83d045f to f5d694e Compare November 24, 2022 10:28
@tvdeyen tvdeyen merged commit 574a28f into main Nov 24, 2022
@tvdeyen tvdeyen deleted the do-not-create-thumbs-for-invalid-pictures branch November 24, 2022 21:45
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.

2 participants