Added logging on error getting image info