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

print PIL.UnidentifiedImageError #10041

Merged
merged 1 commit into from
May 8, 2023
Merged

print PIL.UnidentifiedImageError #10041

merged 1 commit into from
May 8, 2023

Conversation

w-e-w
Copy link
Collaborator

@w-e-w w-e-w commented May 3, 2023

print PIL.UnidentifiedImageError for PR print Exception for Fix #9185 add message #9219

well ....... they did not print the exception

in most cases printing exceptions won't be of any use because the exception as it's raised due to trying to open a non-image file
but from a short read of PIL's Doc it seems the exception might also be raised due to an image file is not supported by PIL

currently if this happened a user will have no indication that image has not been processed
depending on their workflow this would be hard to notice / debug

@w-e-w w-e-w requested a review from AUTOMATIC1111 as a code owner May 3, 2023 05:37
@AUTOMATIC1111 AUTOMATIC1111 merged commit 855f83f into dev May 8, 2023
@w-e-w w-e-w deleted the print-exception-#9219 branch May 8, 2023 09:31
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