renamed image_url to image and added logging in case of any kind of error on the FunctionCache