mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
We only reference MiniMagick when rescuing errors but when it's not loaded, that code fails to find the error class itself to apply the rescue block. The rescue block is covered by a spec but the code passes there as MiniMagick is loaded. We can see this error only in development, staging and production.