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

JPEG/PNG: Add panic handler for unexpected encoding errors #3858

Closed
lastzero opened this issue Oct 31, 2023 · 1 comment
Closed

JPEG/PNG: Add panic handler for unexpected encoding errors #3858

lastzero opened this issue Oct 31, 2023 · 1 comment
Assignees
Labels
bug Something isn't working released Available in the stable release tested Changes have been tested successfully

Comments

@lastzero
Copy link
Member

In rare cases, JPEG/PNG files may not be written to disk due to invalid image data. A panic handler should therefore be added to catch and log these errors:

save-error

@lastzero lastzero added the bug Something isn't working label Oct 31, 2023
@lastzero lastzero self-assigned this Oct 31, 2023
lastzero added a commit that referenced this issue Oct 31, 2023


Signed-off-by: Michael Mayer <michael@photoprism.app>
@lastzero lastzero added the please-test Ready for acceptance test label Oct 31, 2023
@lastzero
Copy link
Member Author

@lastzero lastzero changed the title Thumbnails: Add panic handler for unexpected file save errors Thumbnails: Add panic handler for JPEG/PNG encoding errors Oct 31, 2023
@lastzero lastzero changed the title Thumbnails: Add panic handler for JPEG/PNG encoding errors Thumbnails: Add panic handler for image encoding errors Oct 31, 2023
@lastzero lastzero changed the title Thumbnails: Add panic handler for image encoding errors JPEG: Add panic handler for unexpected encoding errors Oct 31, 2023
@lastzero lastzero changed the title JPEG: Add panic handler for unexpected encoding errors JPEG/PNG: Add panic handler for unexpected encoding errors Oct 31, 2023
@graciousgrey graciousgrey added tested Changes have been tested successfully released Available in the stable release and removed please-test Ready for acceptance test labels Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released Available in the stable release tested Changes have been tested successfully
Projects
Status: Release 🌈
Development

No branches or pull requests

2 participants