KamoCRM

Fall back to the original image when resize fails

FixSecurityService
Shipped
9 ஜூலை, 2026 அன்று 6:34 PM UTC
Author
Kamo
Commit
891f2e0

ConversionService can native-crash (libwebp-imageio SIGSEGV) or be unavailable, which made every member wallpaper upload fail ("Failed to process image" -> 500). Now, if resizeBackground throws, store the original bytes with their own extension/content-type instead of failing the upload. Uploads succeed regardless of ConversionService health (unresized, but usable).

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing