Log errors inspecting images.

I've been noticing occasional cases where an image inspection seems to fail. I'm not sure what *should* happen, but I figured a good first step would be to log the error.