I encountered an issue where my version of image magick wasn't up to date and this cast function was swallowing the error message, making it extremely hard to debug. I eventually ended up editing the deps directly to find out all I needed to do was update imagemagick. The change above will expose the error in the logs at least.
I encountered an issue where my version of image magick wasn't up to date and this cast function was swallowing the error message, making it extremely hard to debug. I eventually ended up editing the deps directly to find out all I needed to do was update imagemagick. The change above will expose the error in the logs at least.