Missing Error array fix in cache tool

Missing Error array fix in cache tool