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

fix: hang on unsupported image #2537

Merged
merged 3 commits into from
Mar 15, 2024

Conversation

shaye059
Copy link
Contributor

Fixes #2527.

Displays an error message to the user that the image type is not supported and marks the task as finished to avoid hanging.

@mashb1t
Copy link
Collaborator

mashb1t commented Mar 15, 2024

@shaye059 thanks for the fix, it's really nice to have an output not only on console but also the browser using Error and not only ValueError.
I've modified the code a bit so the empty task doesn't even get queued.

@mashb1t mashb1t added this to the 2.3.0 milestone Mar 15, 2024
@mashb1t mashb1t changed the base branch from main to develop March 15, 2024 21:29
@mashb1t mashb1t merged commit 55e23a9 into lllyasviel:develop Mar 15, 2024
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.

[Bug]: IndexError: pop from empty list
2 participants