add capturing of cache_key in cache error