Fall back to the original image when resize fails

FixSecurityService
Shipped
July 9, 2026 at 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?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing