Log some more details when there's an error processing the image.